Question: 1d) Now, let's make a new feature called 'weight_norm' which is weight normalized by the mean value. [5 pts] Run training with polynomial models with

1d) Now, let's make a new feature called 'weight_norm' which is weight normalized by the mean value. [5 pts]

Run training with polynomial models with polynomial degrees up to 20. Print out each polynomial degree and ????2 value. What do you observe from the result? What are the best_degree and best_r_qaured just based on ????2 value? Inspect model summary from each model. What is the highest order model that makes sense (fill the value for the sound_degree)?

Note: For N-degree polynomial fit, you have to include all orders upto N. Please use statsmodel

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