I'm using a fitnet and i'd like to know if it's possible to do regularization, using msereg, and cross-validation at the same time. It seems that when i try it the regularized cost function is applied to the validation and test sets (using dividerand and divideind).

 Akzeptierte Antwort

Greg Heath
Greg Heath am 5 Feb. 2015

0 Stimmen

Yes, any cost function will be applied to the whole dataset.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by