Question: Write a program to estimate the parameters for an unknown polynomial using the polyfit() function of the numpy package. Change variable noise_scale to 150, 200,
Write a program to estimate the parameters for an unknown polynomial using the polyfit() function of the numpy package.
Change variable noise_scale to 150, 200, 400, 600, 1000 respectively, re-run the algorithm and plot the polynomials with the m found in 2). Discuss the impact of the noise scale on the accuracy of the returned parameters. [You need to plot a figure as in 1) for each choice of noise_scale.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
