Perform crossvalidation through matlab.

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 !!

Réponses (0)

Question posée :

le 6 Fév 2015

Community Treasure Hunt

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

Start Hunting!

Translated by