How I can improve the accuracy of over fitted CNN model
2 次查看(过去 30 天)
显示 更早的评论
I reshaped my data to 4D (9x2000x10x20000) i.e height x width x channel x instances. and label 20000x1. but i am only getting 20% caccuracy. and model is overfitting. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/612415/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/612415/image.png)
0 个评论
回答(1 个)
Vineet Joshi
2021-5-17
Hi
Overfitting is when the model performs well on training data but not on validation data.
We can see from the provided figure that the model is not performing well on the training data itself, which is unlikely due to overfitting.
Based on your training statistics it also looks like you haven’t even completed a single epoch, which may also be the cause of underperforming model as larger datasets often requires multiple epochs.
You can wait for the training to finish and based on the achieved accuracy, try experimenting with different architectures and hyperparameters according to your problem. This may help you in increasing the training accuracy.
The following link can direct you to many resources for CNNs with MATLAB.
Hope this helps.
Thanks
0 个评论
另请参阅
类别
在 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!