Question: Problem 1 The dataset for a polynomial regression problem is given as X 1 2 6 3 A 7 11 Assume that we want to


Problem 1 The dataset for a polynomial regression problem is given as X 1 2 6 3 A 7 11 Assume that we want to build the polynomial regression model in the form Predicted y = wo + wix? (a) Find the cost function in terms of wO and w1 for the given model and dataset. (b) What is the gradient vector for the cost function in part-a? (c) Find the optimal coefficients that minimizes the given cost function, and evaluate the cost function and the gradient at these coefficients. (d) Write the weight update equation explicitly if we want to use the gradient descent algorithm to minimize the cost function. Assume a learning rate which linearly decreases by iteration. (e) Can you suggest a better regression model for this dataset? Justify your answer briefly. . You might need the inverse of a 2x2 matrix formula given below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
