Clear Filters
Clear Filters

Problem with Cross Validation Neural Network

2 views (last 30 days)
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
Greg Heath on 6 Jun 2018
Have you double-checked equations 5 through 12?
Mohammadreza Hesami
Mohammadreza Hesami on 3 Jul 2018
Edited: Mohammadreza Hesami on 3 Jul 2018
Thanks Greg for your reply. Unfortunately, I can't get your point, could please tell me what do you mean by these equations or where can I find them ? Thanks in advance

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!