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).

 Réponse acceptée

Greg Heath
Greg Heath le 5 Fév 2015

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by