Clear Filters
Clear Filters

how MATLAB find the ratios for training NN results (test, train and validation )?

1 view (last 30 days)
Hi ,
please , what is the mathematical formula for calculate the ratio in matlab when i used NN for prediction problems
so what is mean for eaxmple:
test raito : R=0.9998
train ratio :R=0.9993
valadation raito : R=0.9925
All , r=0.994

Accepted Answer

Ridwan Alam
Ridwan Alam on 5 Dec 2019
In your fig, I believe R is representing the coefficient of determination or the correlation coeeficient (https://www.mathworks.com/help/stats/coefficient-of-determination-r-squared.html).
Not only for NN, but any machine learning task, the whole dataset is first divided into training, validation, and test datasets. The model is trained and validated using methods such as cross validation, and the final model is assessed using the test set. In your fig, it looks like different models are compared using all four datasets showing different parameters fit different datasets better. For more, please check: https://www.mathworks.com/help/stats/model-building-and-assessment.html

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!