public class GLMParametersV3 extends ModelParametersSchema
| Modifier and Type | Field and Description |
|---|---|
double[] |
alpha
distribution of regularization between L1 and L2.
|
boolean |
balance_classes
Balance training data class counts via over/under-sampling (for imbalanced data).
|
java.lang.String |
beta_constraints
beta constraints
|
double |
beta_epsilon
converge if beta changes less (using L-infinity norm) than beta esilon, ONLY applies to IRLSM solver
|
java.lang.String |
checkpoint
Model checkpoint to resume training with
|
float[] |
class_sampling_factors
Desired over/under-sampling ratios per class (in lexicographic order).
|
boolean |
compute_p_values
request p-values computation, p-values work only with IRLSM solver and no regularization
|
Family |
family
Family.
|
FoldAssignmentScheme |
fold_assignment
Cross-validation fold assignment scheme, if fold_column is not specified
|
ColSpecifierV3 |
fold_column
Column with cross-validation fold index assignment per observation
|
double |
gradient_epsilon
converge if objective changes less (using L-infinity norm) than this, ONLY applies to L-BFGS solver
|
boolean |
ignore_const_cols
Ignore constant columns
|
java.lang.String[] |
ignored_columns
Ignored columns
|
boolean |
intercept
include constant term in the model
|
boolean |
keep_cross_validation_predictions
Keep cross-validation model predictions
|
double[] |
lambda
regularization strength
|
double |
lambda_min_ratio
min lambda used in lambda search, specified as a ratio of lambda_max
|
boolean |
lambda_search
use lambda search starting at lambda max, given lambda is then interpreted as lambda min
|
Link |
link |
int |
max_active_predictors
Maximum number of active predictors during computation.
|
float |
max_after_balance_size
Maximum relative size of the training data after balancing class counts (can be less than 1.0).
|
int |
max_confusion_matrix_size
Maximum size (# classes) for confusion matrices to be printed in the Logs
|
int |
max_hit_ratio_k
Max.
|
int |
max_iterations
Maximum number of iterations
|
double |
max_runtime_secs
Maximum allowed runtime in seconds for model training.
|
MissingValuesHandling |
missing_values_handling
Handling of missing values.
|
java.lang.String |
model_id
Destination id for this model; auto-generated if not specified
|
int |
nfolds
Number of folds for N-fold cross-validation
|
int |
nlambdas
number of lambdas to be used in a search
|
boolean |
non_negative
Restrict coefficients (not intercept) to be non-negative
|
double |
obj_reg
likelihood divider in objective value computation, default is 1/nobs
|
double |
objective_epsilon
converge if objective value changes less than this
|
ColSpecifierV3 |
offset_column
Offset column
|
boolean |
parallelize_cross_validation
Allow parallel training of cross-validation models
|
double |
prior
prior probability for y==1.
|
boolean |
remove_collinear_columns
in case of linearly dependent columns remove some of the dependent columns
|
ColSpecifierV3 |
response_column
Response column
|
boolean |
score_each_iteration
Whether to score during each iteration of model training
|
Solver |
solver
AUTO will set the solver based on given data and the other parameters.
|
boolean |
standardize
Standardize numeric columns to have zero mean and unit variance
|
StoppingMetric |
stopping_metric
Metric to use for early stopping (AUTO: logloss for classification, deviance for regression)
|
int |
stopping_rounds
Early stopping based on convergence of stopping_metric.
|
double |
stopping_tolerance
Relative tolerance for metric-based stopping criterion Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
|
java.lang.String |
training_frame
Training frame
|
double |
tweedie_link_power
Tweedie link power
|
double |
tweedie_variance_power
Tweedie variance power
|
java.lang.String |
validation_frame
Validation frame
|
ColSpecifierV3 |
weights_column
Column with observation weights
|
| Constructor and Description |
|---|
GLMParametersV3() |
public Family family
public double tweedie_variance_power
public double tweedie_link_power
public Solver solver
public double[] alpha
public double[] lambda
public boolean lambda_search
public int nlambdas
public boolean standardize
public MissingValuesHandling missing_values_handling
public boolean non_negative
public int max_iterations
public double beta_epsilon
public double objective_epsilon
public double gradient_epsilon
public double obj_reg
public Link link
public boolean intercept
public double prior
public double lambda_min_ratio
public java.lang.String beta_constraints
public int max_active_predictors
public boolean balance_classes
public float[] class_sampling_factors
public float max_after_balance_size
public int max_confusion_matrix_size
public int max_hit_ratio_k
public boolean compute_p_values
public boolean remove_collinear_columns
public java.lang.String model_id
public java.lang.String training_frame
public java.lang.String validation_frame
public int nfolds
public boolean keep_cross_validation_predictions
public boolean parallelize_cross_validation
public ColSpecifierV3 response_column
public ColSpecifierV3 weights_column
public ColSpecifierV3 offset_column
public ColSpecifierV3 fold_column
public FoldAssignmentScheme fold_assignment
public java.lang.String[] ignored_columns
public boolean ignore_const_cols
public boolean score_each_iteration
public java.lang.String checkpoint
public int stopping_rounds
public double max_runtime_secs
public StoppingMetric stopping_metric
public double stopping_tolerance