Classification Model Accuracy Using Classification Learner
1 view (last 30 days)
Show older comments
Hello, I am a beginner in machine learning.
I train the data using a classification learner and I choose the SVM with the highest accuracy.
Blind testing the generated model with new data does not yield the expected performance.
In the confusion matrix, the classification accuracy of a specific class is 90%, but it cannot be predicted even by 40% in a blind test.
Even though the classification model created for model validation predicted the same data as the data used for training, the accuracy did not match the classification table of errors.
What's the problem? please answer about my question. thankyou
0 Comments
Answers (1)
Drew
on 14 Nov 2022
It sounds like the model is overfitting on the training data. Some techniques to avoid overfitting can be seen here: https://www.mathworks.com/campaigns/offers/common-machine-learning-challenges.html
0 Comments
See Also
Categories
Find more on Classification Ensembles 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!