Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are given the following dataset with the price of diamonds (in $) as a function of their length and width (in mm). Your task

You are given the following dataset with the price of diamonds (in $) as a function of their length and width (in mm). Your task is to build a predictive tool that when given the measurements of a new diamond that comes in, it can return its predicted value.

please see attach file to see the whole question.

image text in transcribed
4. You are given the following dataset with the price of diamonds [in $1 as a function of their length and width {in mm]. Your task is to build a predictive tool that when given the measurements of a new diamond tltat comes in. it can return its predicted value. _l--l- _I_E-l- a] Formulate the problem as a linear regression problem and propose how to solve it [objective function. nding the weights. initialization. etc.) [Spt] h] Find the optimal weights by using Ordinary Least Squares [lpt] c] Find the optimal weights by using gradient descend {3 iterations total]. Assume the weights are initialized at [w] . iii-'2} = [1, 111mm] d] What is the Ttralue ot'a diamond with length of 3mm and width of l nun?[5pt]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra Graphs and Models

Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna

5th edition

321845404, 978-0321791009, 321791002, 978-0321783950, 321783956, 978-0321845405

More Books

Students also viewed these Mathematics questions