public static final class GLMV3.GLMParametersV3 extends water.api.SupervisedModelParametersSchema<GLMModel.GLMParameters,GLMV3.GLMParametersV3>
water.api.ModelParametersSchema.ValidationMessageBase<I extends hex.ModelBuilder.ValidationMessage,S extends water.api.ModelParametersSchema.ValidationMessageBase<I,S>>, water.api.ModelParametersSchema.ValidationMessageV2| Modifier and Type | Field and Description |
|---|---|
double[] |
alpha |
water.api.KeyV3.FrameKeyV3 |
beta_constraints |
double |
beta_epsilon |
GLMModel.GLMParameters.Family |
family |
boolean |
intercept |
double[] |
lambda |
double |
lambda_min_ratio |
boolean |
lambda_search |
GLMModel.GLMParameters.Link |
link |
int |
max_active_predictors |
int |
max_iterations |
int |
nlambdas |
static java.lang.String[] |
own_fields |
double |
prior |
GLMModel.GLMParameters.Solver |
solver |
boolean |
standardize |
boolean |
use_all_factor_levels |
balance_classes, class_sampling_factors, max_after_balance_size, max_confusion_matrix_size, max_hit_ratio_k, response_column| Constructor and Description |
|---|
GLMV3.GLMParametersV3() |
append_field_arrays, fields, fillFromImpl, fillImpl, writeParametersJSONacceptsFrame, createAndFillImpl, createImpl, extractVersion, fillFromParms, getExperimentalVersion, getHighestSupportedVersion, getImplClass, getImplClass, getLatestVersion, getSchemaVersion, markdown, markdown, markdown, markdown, newInstance, register, registerAllSchemasIfNecessary, schema, schema, schema, schema, schema, schemaClass, schemaClass, schemaClass, schemaClass, schemaspublic static java.lang.String[] own_fields
@API(help="Family. Use binomial for classification with logistic regression, others are for regression problems.",
values={"gaussian","binomial","poisson","gamma"},
level=critical)
public GLMModel.GLMParameters.Family family
@API(help="Auto will pick solver better suited for the given dataset, in case of lambda search solvers may be changed during computation. IRLSM is fast on on problems with small number of predictors and for lambda-search with L1 penalty, L_BFGS scales better for datasets with many columns.",
values={"AUTO","IRLSM","L_BFGS"},
level=critical)
public GLMModel.GLMParameters.Solver solver
@API(help="distribution of regularization between L1 and L2.",
level=critical)
public double[] alpha
@API(help="regularization strength",
required=false,
level=critical)
public double[] lambda
@API(help="use lambda search starting at lambda max, given lambda is then interpreted as lambda min",
level=critical)
public boolean lambda_search
@API(help="number of lambdas to be used in a search",
level=critical)
public int nlambdas
@API(help="Standardize numeric columns to have zero mean and unit variance",
level=critical)
public boolean standardize
@API(help="Maximum number of iterations",
level=secondary)
public int max_iterations
@API(help="beta esilon -> consider being converged if L1 norm of the current beta change is below this threshold",
level=secondary)
public double beta_epsilon
@API(help="",
level=secondary,
values={"family_default","identity","logit","log","inverse","tweedie"})
public GLMModel.GLMParameters.Link link
@API(help="include constant term in the model",
level=expert)
public boolean intercept
@API(help="prior probability for y==1. To be used only for logistic regression iff the data has been sampled and the mean of response does not reflect reality.",
level=expert)
public double prior
@API(help="min lambda used in lambda search, specified as a ratio of lambda_max",
level=expert)
public double lambda_min_ratio
@API(help="By default, first factor level is skipped from the possible set of predictors. Set this flag if you want use all of the levels. Needs sufficient regularization to solve!",
level=secondary)
public boolean use_all_factor_levels
@API(help="beta constraints",
direction=INPUT)
public water.api.KeyV3.FrameKeyV3 beta_constraints
@API(help="Maximum number of active predictors during computation. Use as a stopping criterium to prevent expensive model building with many predictors.",
direction=INPUT,
level=expert)
public int max_active_predictors