Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started