MATLAB: Regression Plot

regression

As regards the neural Network Training, in the function I set a percent of data to be sued for testing and an another amount for validation. After training we can see the regression plot for all the data set. This regression plot which is launched by clicking on the Regression on the training window is much better than the results obtained from separate data used to test the network….!!! it's the matter every time. Always it' better than the result I obtain when using other bunch of data.
Your help is appreciated.

Best Answer

No mystery.
The training algorithm tries to minimize the error on the training subset. That is why the training error is, most of the time, lower than that of nontraining data.