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

답변 (0개)

카테고리

질문:

2015년 2월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by