cross validation in neural network
이전 댓글 표시
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
Greg Heath
2012년 7월 14일
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.
채택된 답변
추가 답변 (1개)
ap hossain
2018년 2월 23일
0 개 추천
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
Greg Heath
2018년 2월 23일
편집: Greg Heath
2018년 2월 23일
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
카테고리
도움말 센터 및 File Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!