public class ModelMetricsRegression extends ModelMetricsSupervised
Modifier and Type | Class and Description |
---|---|
static class |
ModelMetricsRegression.MetricBuilderRegression<T extends ModelMetricsRegression.MetricBuilderRegression<T>> |
ModelMetricsSupervised.MetricBuilderSupervised<T extends ModelMetricsSupervised.MetricBuilderSupervised<T>>
ModelMetrics.MetricBuilder<T extends ModelMetrics.MetricBuilder<T>>
Modifier and Type | Field and Description |
---|---|
double |
_mean_absolute_error |
double |
_mean_residual_deviance |
double |
_root_mean_squared_log_error |
_domain, _sigma
_description, _MSE, _nobs, _scoring_time
Constructor and Description |
---|
ModelMetricsRegression(Model model,
Frame frame,
long nobs,
double mse,
double sigma,
double mae,
double rmsle,
double meanResidualDeviance) |
Modifier and Type | Method and Description |
---|---|
static double |
computeHuberDelta(Vec actual,
Vec preds,
Vec weight,
double huberAlpha) |
static ModelMetricsRegression |
getFromDKV(Model model,
Frame frame) |
double |
mae() |
static ModelMetricsRegression |
make(Vec predicted,
Vec actual,
hex.genmodel.utils.DistributionFamily family)
Build a Regression ModelMetrics object from predicted and actual targets
|
double |
mean_residual_deviance() |
double |
residual_deviance()
For all algos except GLM this is mean residual deviance.
|
double |
rmsle() |
java.lang.String |
toString() |
r2
auc_obj, buildKey, calcVarImp, calcVarImp, calcVarImp, calcVarImp, checksum_impl, cm, deepCloneWithDifferentModelAndFrame, frame, getAllowedMetrics, getMetricFromModel, getMetricFromModelMetric, hr, isForFrame, isForModel, model, mse, residual_degrees_of_freedom, rmse, sortModelsByMetric, sortModelsByMetric
checksum, makeSchema, readAll_impl, readAll, remove_impl, remove, remove, remove, remove, writeAll_impl, writeAll
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public final double _mean_residual_deviance
public final double _mean_absolute_error
public final double _root_mean_squared_log_error
public double residual_deviance()
public double mean_residual_deviance()
public double mae()
public double rmsle()
public static ModelMetricsRegression getFromDKV(Model model, Frame frame)
public java.lang.String toString()
toString
in class ModelMetricsSupervised
public static ModelMetricsRegression make(Vec predicted, Vec actual, hex.genmodel.utils.DistributionFamily family)
predicted
- A Vec containing predicted valuesactual
- A Vec containing the actual target values