Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Polynomial_Estimator

In this repo. is the code to implement the following:

  1. Using a polynomial estimator of degree 1, 5, 10, and 50, I am plotting the function obtained with each of the polynomials overlaid on the data

  2. Plotting the MSE obtained on the training data and the test data as a function of the degree of the polynomial

  3. Plotting the MSE, the squared Bias, and the Variance as a function of the degree of the polynomial

  4. Creating a new estimator whose output is the average of the 4 estimators you created above (i.e. polynomials of degree 1, 5, 10, and 50). Plotting the function that is obtainned by overlaying on the data.

  5. Creating a 100 estimators and take the 3 best estimators from them (possibly in terms of MSE on the training data). Using the average of the 3 best estimators to create a new estimator.

All of this is explained in the python notebook. Thanks for reading!

About

This repo. contains the code to create polynomial estimators, additionally,

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages