How to use msereg and cross-validation

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

 Respuesta aceptada

Greg Heath
Greg Heath el 5 de Feb. de 2015

0 votos

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

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 10 de Nov. de 2014

Respondida:

el 5 de Feb. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by