Optimal hidden nodes number
Show older comments
Hello everybody,
In order to determine optimal hidden neurons, Trial and error algorithm has been used (trial = 10, 10 < H < 100, dH = 100). I get the table on top but i can not determine the optimal hidden neurons. The table contains (Trials, Hidden neurons, test_mse, train_mse, val_mse, test_R, train_R, val_R)
Please i need your help. Thank you.
Accepted Answer
More Answers (2)
Greg Heath
on 28 Jan 2018
BASIC MATLAB NN DESIGN ASSUMPTIONS
The summary statistics of the Training, Validation and Test subsets are satisfactorially similar.
Training data is used to estimate net parameters
Validation data is used to verify ability to generalize (i.e., ability to obtain satisfactory performance on nontraining data)
Test data is used to obtain unbiased estimates of performance on non-design (including unseen) data
Overfitting occurs when the number of training parameters to be estimated exceeds the number of training equations
Overtraining occurs when the training exceeds the point at which the trend of the nontraining error is decreasing.
Normalized Mean Square error and Rsquare (Rsquare = 1-NMSE) tend to be sufficient for characterizing nonclassifier performance.
The normalization denominator for NMSE = MSE/MSEref is the minimum MSE for a constant output model. The minimizing constant output and corresponding MSEref are
y = mean(t,2)
MSEref = mse(t-mean(t,2)) = mean(variance(t'),1)
Crossentropy is the default minimization quantity for MATLAB classifiers. However, the ultimate minimization goal is classification error rate.
Hope this helps.
Thank you for formally accepting my answer
Greg
1 Comment
Hamza Ali
on 29 Jan 2018
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!