matlab code for mean_squared_error
Afficher commentaires plus anciens
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 commentaires
Sanchit
le 9 Juil 2023
Walter Roberson
le 9 Juil 2023
oob_mse = immse(y_train, predict(rf_classifier, X_train));
Sanchit
le 9 Juil 2023
Réponse acceptée
Plus de réponses (1)
Prasannavenkatesh
le 9 Juil 2023
0 votes
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 commentaires
Sanchit
le 9 Juil 2023
Walter Roberson
le 9 Juil 2023
oob_mse = immse(y_train, predict(rf_classifier, X_train));
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!