Question: In this problem, each example has only one feature:x ^ (i)=x ^ (i)fori= 1. . . N. Consider a linear model of the form, y?wx,

In this problem, each example has only one feature:x ^ (i)=x ^ (i)fori= 1. . . N.

Consider a linear model of the form,

y?wx,

which is a linear model, but with the intercept forced to zero. This occurs in applications where we want to force the predicted valuey? = 0 whenx= 0. For example, if we are modelingy= output power of a motor vs.x= the input power, we would expectx= 0?y= 0.

In this problem, each example has only one feature:x ^ (i)=x ^

(a) Given data (x(), y(")) for i E 1. .. N, write a cost function representing the residual sum of squares (RSS) between yi and the predicted value yi as a function of w. (b) Taking the derivative with respect to w, find the w that minimizes the RSS

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!