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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!