query about validation set
3 ビュー (過去 30 日間)
古いコメントを表示
net = newff(inputs,outputs,14);
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 15/100;
net.divideParam.testRatio = 15/100;
what validation type is used in this code like 10 fold cross validation ?
0 件のコメント
採用された回答
その他の回答 (1 件)
Brendan Hamm
2015 年 12 月 24 日
What is called the validation set in Neural Nets is not quite the same as it is for other machine learning algorithms. Typically a validation set is used to determine how well we believe a fitted model will work (after fitting). In a Neural Net the validation set is used to determine when to stop training the model, that is the validation set should continue to decrease at each iteration but will begin to increase when the model becomes overfit. Therefore the valdiation set is used to determine which iteration provided the "best" result. Finally the testing set is used as comparisson, if it deviates too much from the validation set then the model it might indicate a poor division of these sets.
The actual method of data division is stored in net.divideFcn and by default is randomly sampled.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!