how to to evaluate accuracy score for a model in matlab
29 views (last 30 days)
Show older comments
I have build a decision tree model using matlab.Now i want to test my model with test data.so how can i test my model and calculate the accuracy of my model.thanks in advance
6 Comments
Walter Roberson
on 7 Nov 2019
Edited: Walter Roberson
on 7 Nov 2019
No, there is no built-in function for that. "accuracy" is not well-enough defined in the situation for there to be a function for that.
If rms() does not do the job for you, you should probably looking at precision or recall rather than some not-defined accuracy .
Answers (1)
See Also
Categories
Find more on Statistics and Machine 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!