cross validation in neural network
Ältere Kommentare anzeigen
hai
i need some clarification on cross validation to be applied to neural network. i manage to get result of NN. right now i plan to apply cross validation for model selection.
i have go through example of *crossvalind, crossval* but i dont really understand what is classifier,in other word, what are the main things to be considered in order to apply cross validation.
TIA,Regards, FZ
1 Kommentar
Greg Heath
am 14 Jul. 2012
In classification or pattern recognition, the data is assumed to be partitioned into c classes. The job of the classifier is to correctly assign the input vector to the correct class. See the patternnet demo.
Akzeptierte Antwort
Weitere Antworten (1)
ap hossain
am 23 Feb. 2018
0 Stimmen
hello sir, i am little bit confused whether cross validation should apply in nueral network or not needed...i am using matlab 2017a..via default nftool i'm getting better result and when save script there is no cross validation function in default program..so do i need cross validation?
1 Kommentar
Greg Heath
am 23 Feb. 2018
Bearbeitet: Greg Heath
am 23 Feb. 2018
1. You have asked a NEW question in an OLD ANSWER BOX.
2. Since the original question is 6 years old you should
have started a new post.
3. I DO NOT RECOMMEND k-fold (Typically with k = 10)
cross validation for neural net design.
REASONS
a. It is not a NN Toolbox option
c. It is too time-consuming to either
i. learn how to modify the XVAL code from other
toolboxes.
ii. write your own error-free code.
d. It is easier to just loop through multiple designs with
both
i. Random data division
ii. Random weight initialization
e. There are hundreds of examples of d in both the
NEWSGROUP and ANSWERS. Good search words are
greg Ntrials
PS. I have posted tens of cases using XVAL. However, I still recommend my double-loop technique over
a. Number of hidden nodes in outer loop
b. Random data division AND weight initialization in inner loop.
Hope this helps.
Greg
Kategorien
Mehr zu Gaussian Process Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!