How to find the best performance values for multistep ahead prediction?
Show older comments
With narnet in a loop I am looking for the best hidden layer size for my network in terms of future predictions. I do a multistep ahead prediction with narnet and the predicted values are good (R squared > 0.8).
My problem is that the train, validation, test and closedloop performances of my network are not correlated with the R squared value, so if I do my trials or prediction for an unknown segment, then I can't decide which hidden layer size to choose.
How can I solve this problem?
Here is the correlation matrix (the rows and columns: performance, trainPerformance, valPerformance, closedLoopPerformance, testPerformance, MSE of predicted values, R squared of predicted values)
1.0000 0.9702 0.2953 0.1610 0.0780 -0.0401 0.0401
0.9702 1.0000 0.2507 0.1158 -0.1657 -0.0240 0.0240
0.2953 0.2507 1.0000 -0.0626 0.1469 -0.0918 0.0918
0.1610 0.1158 -0.0626 1.0000 0.1826 0.2678 -0.2678
0.0780 -0.1657 0.1469 0.1826 1.0000 -0.0622 0.0622
-0.0401 -0.0240 -0.0918 0.2678 -0.0622 1.0000 -1.0000
0.0401 0.0240 0.0918 -0.2678 0.0622 -1.0000 1.0000
Accepted Answer
More 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!