matlab code for mean_squared_error
이전 댓글 표시
oob_mse = mean_squared_error(y_train, predict(rf_classifier, X_train));
I need matlab code for mean_squared_error.
Please provide me.
Thanks.
Sanchit
댓글 수: 4
Sanchit
2023년 7월 9일
Walter Roberson
2023년 7월 9일
oob_mse = immse(y_train, predict(rf_classifier, X_train));
Sanchit
2023년 7월 9일
채택된 답변
추가 답변 (1개)
Prasannavenkatesh
2023년 7월 9일
0 개 추천
Hi Sanchit,
You can use the existing immse function in matlab (https://in.mathworks.com/help/images/ref/immse.html) for calculating the mean squared error. Hope this helps.
댓글 수: 2
Sanchit
2023년 7월 9일
Walter Roberson
2023년 7월 9일
oob_mse = immse(y_train, predict(rf_classifier, X_train));
카테고리
도움말 센터 및 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!