public class ModelMetricsRegressionHGLM extends ModelMetricsRegression
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[] |
_beta |
double[] |
_icc |
int |
_iterations |
double |
_log_likelihood |
double |
_mse_fixed |
double[][] |
_tmat |
double[][] |
_ubeta |
double |
_var_residual |
static double |
LOG_2PI |
_AIC, _loglikelihood, _mean_absolute_error, _mean_residual_deviance, _root_mean_squared_log_error
_domain, _sigma
_custom_metric, _description, _MSE, _nobs, _scoring_time
Constructor and Description |
---|
ModelMetricsRegressionHGLM(Model model,
Frame frame,
long nobs,
double sigma,
double loglikelihood,
CustomMetric customMetric,
int iter,
double[] beta,
double[][] ubeta,
double[][] tmat,
double varResidual,
double mse,
double mse_fixed,
double mae,
double rmlse,
double meanResidualDeviance,
double aic) |
Modifier and Type | Method and Description |
---|---|
static double |
calHGLMllg2(long nobs,
double[][] tmat,
double varResidual,
double[][] zTTimesZ,
double yMinsXFixSqure,
double[][] yMinusXFixTimesZ)
This method calculates the log-likelihood as described in section II.VI of the doc.
|
static double[] |
calICC(double[][] tmat,
double varResidual) |
static double[][] |
calInnverV(double[][] gmat,
double[][] zTTimesZ,
double oneOVar)
See the doc section II.V, calculates G inverse + transpose(Z)*Z/var_e.
|
static ModelMetricsRegressionHGLM |
getFromDKV(Model model,
Frame frame) |
double |
llg() |
java.lang.String |
toString() |
aic, computeHuberDelta, loglikelihood, mae, make, make, mean_residual_deviance, residual_deviance, rmsle
r2
appendToStringMetrics, auc_obj, buildKey, buildKey, calcVarImp, calcVarImp, calcVarImp, calcVarImp, checksum_impl, cm, custom_increasing, custom, deepCloneWithDifferentModelAndFrame, defaultModelMetrics, frame, getAllowedMetrics, getMetricFromModel, getMetricFromModelMetric, hr, isForFrame, isForModel, model, mse, residual_degrees_of_freedom, rmse, setModelKey, sortModelsByMetric, sortModelsByMetric, withDescription, withModelAndFrame
checksum_impl, checksum, checksum, getKey, makeSchema, readAll_impl, readAll, remove_impl, remove_impl, remove_self_key_impl, remove, remove, remove, remove, remove, remove, removeQuietly, writeAll_impl, writeAll
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
public static final double LOG_2PI
public final double[] _beta
public final double[][] _ubeta
public final double[] _icc
public final int _iterations
public final double[][] _tmat
public final double _var_residual
public final double _log_likelihood
public final double _mse_fixed
public ModelMetricsRegressionHGLM(Model model, Frame frame, long nobs, double sigma, double loglikelihood, CustomMetric customMetric, int iter, double[] beta, double[][] ubeta, double[][] tmat, double varResidual, double mse, double mse_fixed, double mae, double rmlse, double meanResidualDeviance, double aic)
public static double calHGLMllg2(long nobs, double[][] tmat, double varResidual, double[][] zTTimesZ, double yMinsXFixSqure, double[][] yMinusXFixTimesZ)
public static double[][] calInnverV(double[][] gmat, double[][] zTTimesZ, double oneOVar)
public static ModelMetricsRegressionHGLM getFromDKV(Model model, Frame frame)
public static double[] calICC(double[][] tmat, double varResidual)
public double llg()
public java.lang.String toString()
toString
in class ModelMetricsRegression