Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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