MSE vs. RMSE

678 views
Skip to first unread message

Raphael Volz

unread,
Oct 6, 2015, 12:53:59 AM10/6/15
to H2O Open Source Scalable Machine Learning - h2ostream
Hi-
apologies for the "newby" question. In training / validation metrics is MSE rooted or not ? (aka. RMSE/RMSD). I am slightly confused as residual deviance is often shown in the scale of the predictor (rooted) but when compared to results of another system the MSE computed by H20 in the example below seems not to be square rooted:

MSE0.000966
r20.867530
mean_residual_deviance0.000966

Thanks

Raphael

SriSatish Ambati

unread,
Oct 6, 2015, 1:07:26 AM10/6/15
to Raphael Volz, H2O Open Source Scalable Machine Learning - h2ostream, sci...@h2o.ai
Raphael,

I'd like to get the science team to comment.
It looks like we are doing just squared error - not root mean squared error -

Sri


public ModelMetrics makeModelMetrics( Model m, Frame f) {
double mse = _sumsqe / _wcount;
double meanResDeviance = _sumdeviance / _wcount; //mean residual deviance
return m._output.addModelMetrics(new ModelMetricsRegression( m, f, mse, weightedSigma(), meanResDeviance));
}

--
You received this message because you are subscribed to the Google Groups "H2O Open Source Scalable Machine Learning - h2ostream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2ostream+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
culture . code . customer
c o m m u n i t y, h2o.ai, 

Arno Candel

unread,
Oct 6, 2015, 2:46:39 AM10/6/15
to Raphael Volz, H2O Open Source Scalable Machine Learning - h2ostream, sci...@h2o.ai, SriSatish Ambati
Raphael,


In general, we use the same conventions as R for (mean) residual deviances, and rigorously test that the result match. For example, for GBM:


Gaussian:
mean residual deviance = mean squared error (not rooted)

Poisson:
mean residual deviance != mean squared error

Gamma:
mean residual deviance != mean squared error

Tweedie:
mean residual deviance != mean squared error




Example for GLM, there’s more:


Please let me know if you have any further questions.
Thanks,
Arno
Reply all
Reply to author
Forward
0 new messages