MATLAB: After training networ not have a good results

code generationDeep Learning Toolboxneural networkneural networks

Dear all I make a network with 5 input and 1 target everything is ok and my r2 is 0.92 but when I make sim to new data to predict the result is too bad and r2 is 0.3 please help

Best Answer

The new and original data should be consistent with samples from the same probability distribution.
1. How much data do you have?
2. Do the two data sets have the same source?
3. Are the 5 new target vs input data plots close to the 5 old data graphs?
4. Do the the two data sets have the same mean and covariance matrix?
5. Are you using FITNET or the obsolete NEWFIT?
6. How many hidden nodes?
7. code?
Hope this helps.
Thank you for formally accepting my answer
Greg