Can we get negative mean square error?
5 次查看(过去 30 天)
显示 更早的评论
I am getting negative mean square error, while training a SVM model. What is confusing me is that, squared errors should not be negative, is this any bug or is it something that I am missing?

4 个评论
the cyclist
2022-7-7
Are you able to post the data, and the model that gave negative MSE? I know that sometimes R^2 can be negative (when constructed in certain ways for an ML model), but I am also surprised to get MSE negative.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!