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 |
_domain, _sigma
_description, _MSE, _nobs, _scoring_time
Constructor and Description |
---|
ModelMetricsRegression(Model model,
Frame frame,
long nobs,
double mse,
double sigma,
double mae,
double meanResidualDeviance) |
Modifier and Type | Method and Description |
---|---|
static ModelMetricsRegression |
getFromDKV(Model model,
Frame frame) |
static ModelMetricsRegression |
make(Vec predicted,
Vec actual,
Distribution.Family distribution)
Build a Regression ModelMetrics object from predicted and actual targets
|
double |
residual_deviance() |
java.lang.String |
toString() |
r2
auc_obj, buildKey, calcVarImp, calcVarImp, calcVarImp, calcVarImp, checksum_impl, cm, frame, getAllowedMetrics, getMetricFromModel, hr, isForFrame, isForModel, model, mse, residual_degrees_of_freedom, rmse, 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 double residual_deviance()
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, Distribution.Family distribution)
predicted
- A Vec containing predicted valuesactual
- A Vec containing the actual target values