Question: Write the python code Linear Regression with pseudo inverse. In this problem you will simulate data that lie nearly on a line and then use
Write the python code
Linear Regression with pseudo inverse. In this problem you will simulate data that lie nearly on a line and then use the simulated data to recover the slop and and intercept of the regression line y = 1.01 + 2.1x.
plot the regression line as well as the simulated noisy data.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
