Overfitting in Neural Network

37 ビュー (過去 30 日間)
Marwah Ababneh
Marwah Ababneh 2021 年 9 月 17 日
回答済み: Sreedhar Arumugam 2021 年 9 月 18 日
How to know if the model is overfitting or not from confusion matrix in Neural Network app ??

回答 (1 件)

Sreedhar Arumugam
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 :

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by