query about validation set

3 ビュー (過去 30 日間)
Seemab  Janjua
Seemab Janjua 2015 年 12 月 24 日
回答済み: Greg Heath 2015 年 12 月 28 日
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 ?

採用された回答

Greg Heath
Greg Heath 2015 年 12 月 28 日

その他の回答 (1 件)

Brendan Hamm
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.

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by