Perform crossvalidation through matlab.

1 view (last 30 days)
Sharda
Sharda on 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 !!

Answers (0)

Community Treasure Hunt

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

Start Hunting!