Question: Use Python to implement functions for above descriptions of Standardization, Error ( cost function ) , Gradient Partial Derivatives and Updating m and b using
Use Python to implement functions for above descriptions of Standardization, Error cost
function Gradient Partial Derivatives and Updating m and b using a learning rate
initialize mb and alpha
Show the datapoints from the student marks data set in a figure where the xaxis is midterm
mark and the yaxis is the final mark
Show the initial regression line on the same figure mb
Update b and m times, and create another figure showing the regression line and datapoints
in the same figure
Create a new graph showing Error at each iteration from the initial point to iteration
the xaxis is the iteration number and the yaxis is the Error
Update b and m for iterations each update is one iteration and create another graph
create a new graph showing Error at each iteration from the initial point to iteration
xaxis is the iteration number and the yaxis is the Error
verify your results using Python API
perform the above steps once with standardized features and once without Standardization
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
