You need to have a validation set. That's a set of data that you know the ground truth answer for, but was not used for training the model. Then you can just see how many of those it got right.
How do I find the accuracy of the model
1 次查看(过去 30 天)
显示 更早的评论
How do I find the accuracy of the decision tree modeL
?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!