why mean square error is 0.00?

조회 수: 1 (최근 30일)
Sanchit
Sanchit 2023년 7월 9일
댓글: Nathan Hardenberg 2023년 7월 10일
I have computed mean square error using function immse and it is working fine without giving any error. However it showing the
Out-of-Bag Mean Square Error: 0.0000
Is it possible or something wrong in matlab code. I am attaching the matlab code along with input data. I request you all to kindly have look on code and suggest me how to fix it.
Sanchit
  댓글 수: 3
Sanchit
Sanchit 2023년 7월 9일
I have tried two data sets and it is giving mean square error 0.000 for both these data sets. I ecpect mean square error to be some minimum number. Can you please have a look on attached code and let me know that code is doing correctly?
Thanks for your help
Sanchit
Nathan Hardenberg
Nathan Hardenberg 2023년 7월 10일
There seems to be no attached code

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

답변 (1개)

Divyam
Divyam 2023년 7월 10일
If you are receiving a 0 mean square error on different data sets, then you can check for the following in your model:
  1. Check if the input data you provide is properly preprocessed (scaling and normalization is performed if required).
  2. Check if the model is overfitting by comparing its performance on the training set and the validation set. If the model performs significantly better on the training set than the validation set, it indicates overfitting. In such cases, you may need to adjust the model's complexity, regularization parameters, or consider using a different algorithm.
Please attach your MATLAB code so that the community can provide more insights.

카테고리

Help CenterFile Exchange에서 Classification Ensembles에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by