Perform crossvalidation through matlab.

2 visualizzazioni (ultimi 30 giorni)
Sharda
Sharda il 6 Feb 2015
I have performed polynomial regression on a data set.Now I want to use validation approach to characterize the goodness of fit for polynomials of different order and also distinguish between over fitting, under fitting and best fit. Can I use the 'crossval' function for this purpose.Plz help me write the code.I am new to this !!

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by