why mean square error is 0.00?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
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:
- Check if the input data you provide is properly preprocessed (scaling and normalization is performed if required).
- 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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!