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

 採用された回答

Greg Heath
Greg Heath 2015 年 2 月 5 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2014 年 11 月 10 日

回答済み:

2015 年 2 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by