Problem with Cross Validation Neural Network
Show older comments
Hi, I want to build a Cross-Validation neural network for a regression problem with trainlm as the training function and mse as the performance. I have run the network for more than 10 times but each time the errors for each step of K was 0 except the last step! For example when K=5, test errors will be :
error for K=1: 0
error for K=2: 0
error for K=3: 0
error for K=4: 0
error for K=5: "A large value"
My question is why only error is large for the last iteration of Cross-Validation? I would be so grateful if someone help me to know what is wrong with this network !. Thanks in advance.
2 Comments
Greg Heath
on 6 Jun 2018
Have you double-checked equations 5 through 12?
Mohammadreza Hesami
on 3 Jul 2018
Edited: Mohammadreza Hesami
on 3 Jul 2018
Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!