Overfitting in Neural Network
조회 수: 7 (최근 30일)
이전 댓글 표시
How to know if the model is overfitting or not from confusion matrix in Neural Network app ??
댓글 수: 0
답변 (1개)
Sreedhar Arumugam
2021년 9월 18일
You could use the accuracy metric from the confusion matrix to determine if the model is overfitting.
The performance can be measured using the percentage of accuracy observed in both training and test datasets to conclude on the presence of overfitting. If the model performs much better on the training set than on the test set, it means that the model is likely overfitting.
This is because your training data is skewed which leads to poor generalization of the model. Ideally, the accuracy on both training and test datasets should be almost equal.
You can go through the following links to read up more about overfitting and the metrics of a confusion matrix :
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!