MATLAB Answers


What happend if the validation performance was greater than the test performance?

Asked by Rita
on 22 Feb 2017
Latest activity Commented on by Rita
on 3 Mar 2017
I have trained several networks with different hidden neurons. Now my question is what happens if I select a network with the validation performance higher than the test performance.I have read somewhere that in this situation the distribution of data between the training set and test set is not correct.Thanks for any suggestion.


Sign in to comment.

1 Answer

Answer by Greg Heath
on 28 Feb 2017
 Accepted Answer

There is no rule governing the order of the val and tst performances. That is why it is worthwhile to design a number of nets differing only by the random initial weights and/or if not a time series, the order of the input/target pairs.
Thank you for formally accepting my answer


Thanks a lot Greg for answering my question. If a test error(test performance,mse) was less than the validation error, still is fine and the network can be selected as the best network?or we should find another network with your solutions to have a test error more than the validation error?Thanks again.
Sometimes it is dangerous to rely on the results of just a few designs. That is why, for challenging cases, I typically design at least 10 or 15 nets for each candidate value of H, the number of hidden nodes.
Then by tabulating the 3 NMSE values with the column for NMSEval monotonically decreasing, you can detect how well trends in NMSEval can indicate the acceptability of NMSEtst.
Of course there are other tabulations and/or plots that reveal design trends( e.g., NMSE vs H). The important thing is to design enough nets so that you are convinced your choice is reliable.

Sign in to comment.