How do you verify if a training curve is overfitting?

조회 수: 3 (최근 30일)
Eberechi ICHI
Eberechi ICHI 2022년 11월 7일
댓글: Eberechi ICHI 2022년 11월 8일

답변 (1개)

John D'Errico
John D'Errico 2022년 11월 7일
This is why you need to segregate some of your data for validation purposes.
Split your data into two parts, perhaps selected randomly. For the model to your training data. What was the error in the fit? Note that.
Then test the model on the validation data. If the validation set has an error of roughly the same size as the training set, then you are not overfitting.
However, if the prediction error on the validation set is significantly larger than the training set, then you are overfitting your data.
  댓글 수: 1
Eberechi ICHI
Eberechi ICHI 2022년 11월 8일
Yes i did, and this is one of the curve for the model. I was wondering if this is overffitting. Although the error curve for the training and validation converges but he training and validation curve above seems to be divergent. Tjhat is actually my concern. Thanks

댓글을 달려면 로그인하십시오.

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by