What to do when training doesn't fit training data well?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hello,
I've been working on a Deep Learning system to learn some simple communication system properties and I'm having trouble with training/predicting. First, the training process quickly goes to zero, which would indicate that it has fit the data well, or even overfit the training data.
However, when using the predict function on the training data to double check, the plot indicates that the network does not predict the data well:
And cross validation prediction is even worse:
Does anyone have a guess as to why the training process shows an error close to zero, but both training set and cv set prediction is poor?
Thanks!
댓글 수: 3
vaibhav mishra
2020년 6월 30일
maybe your model is getting overfit.
try to adopt some dropout and regularization in your model.
답변 (2개)
vaibhav mishra
2020년 6월 30일
maybe your model is getting overfit.
try to adopt some dropout and regularization in your model.
댓글 수: 0
Nagasai Bharat
2020년 9월 29일
Hi,
This issue may be mainly due to the overfitting of the data with respect to your model. As dropout is already applied while training you could use regularization methods (E.g. Batch Normalization, L2 Norm) to the model while training. Also, you could try altering the learning rate so that the model does not overfit.
You can refer to the following documentation and other similar training functions.
댓글 수: 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!