public class ModelParametersSchemaV3 extends SchemaV3
| Modifier and Type | Field and Description |
|---|---|
ModelParametersCategoricalEncodingScheme |
categoricalEncoding
Encoding scheme for categorical features
|
ModelKeyV3 |
checkpoint
Model checkpoint to resume training with.
|
java.lang.String |
customMetricFunc
Reference to custom evaluation function, format: `language:keyName=funcName`
|
GenmodelutilsDistributionFamily |
distribution
Distribution function
|
java.lang.String |
exportCheckpointsDir
Automatically export generated models to this directory.
|
ModelParametersFoldAssignmentScheme |
foldAssignment
Cross-validation fold assignment scheme, if fold_column is not specified.
|
ColSpecifierV3 |
foldColumn
Column with cross-validation fold index assignment per observation.
|
double |
huberAlpha
Desired quantile for Huber/M-regression (threshold between quadratic and linear loss, must be between 0 and 1).
|
boolean |
ignoreConstCols
Ignore constant columns.
|
java.lang.String[] |
ignoredColumns
Names of columns to ignore for training.
|
boolean |
keepCrossValidationFoldAssignment
Whether to keep the cross-validation fold assignment.
|
boolean |
keepCrossValidationModels
Whether to keep the cross-validation models.
|
boolean |
keepCrossValidationPredictions
Whether to keep the predictions of the cross-validation models.
|
int |
maxCategoricalLevels
For every categorical feature, only use this many most frequent categorical levels for model training.
|
double |
maxRuntimeSecs
Maximum allowed runtime in seconds for model training.
|
ModelKeyV3 |
modelId
Destination id for this model; auto-generated if not specified.
|
int |
nfolds
Number of folds for K-fold cross-validation (0 to disable or >= 2).
|
ColSpecifierV3 |
offsetColumn
Offset column.
|
boolean |
parallelizeCrossValidation
Allow parallel training of cross-validation models
|
double |
quantileAlpha
Desired quantile for Quantile regression, must be between 0 and 1.
|
ColSpecifierV3 |
responseColumn
Response variable column.
|
boolean |
scoreEachIteration
Whether to score during each iteration of model training.
|
ScoreKeeperStoppingMetric |
stoppingMetric
Metric to use for early stopping (AUTO: logloss for classification, deviance for regression).
|
int |
stoppingRounds
Early stopping based on convergence of stopping_metric.
|
double |
stoppingTolerance
Relative tolerance for metric-based stopping criterion (stop if relative improvement is not at least this much)
|
FrameKeyV3 |
trainingFrame
Id of the training data frame.
|
double |
tweediePower
Tweedie power for Tweedie regression, must be between 1 and 2.
|
FrameKeyV3 |
validationFrame
Id of the validation data frame.
|
ColSpecifierV3 |
weightsColumn
Column with observation weights.
|
| Constructor and Description |
|---|
ModelParametersSchemaV3()
Public constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Return the contents of this object as a JSON String.
|
@SerializedName(value="model_id") public ModelKeyV3 modelId
@SerializedName(value="training_frame") public FrameKeyV3 trainingFrame
@SerializedName(value="validation_frame") public FrameKeyV3 validationFrame
public int nfolds
@SerializedName(value="keep_cross_validation_models") public boolean keepCrossValidationModels
@SerializedName(value="keep_cross_validation_predictions") public boolean keepCrossValidationPredictions
@SerializedName(value="keep_cross_validation_fold_assignment") public boolean keepCrossValidationFoldAssignment
@SerializedName(value="parallelize_cross_validation") public boolean parallelizeCrossValidation
public GenmodelutilsDistributionFamily distribution
@SerializedName(value="tweedie_power") public double tweediePower
@SerializedName(value="quantile_alpha") public double quantileAlpha
@SerializedName(value="huber_alpha") public double huberAlpha
@SerializedName(value="response_column") public ColSpecifierV3 responseColumn
@SerializedName(value="weights_column") public ColSpecifierV3 weightsColumn
@SerializedName(value="offset_column") public ColSpecifierV3 offsetColumn
@SerializedName(value="fold_column") public ColSpecifierV3 foldColumn
@SerializedName(value="fold_assignment") public ModelParametersFoldAssignmentScheme foldAssignment
@SerializedName(value="categorical_encoding") public ModelParametersCategoricalEncodingScheme categoricalEncoding
@SerializedName(value="max_categorical_levels") public int maxCategoricalLevels
@SerializedName(value="ignored_columns") public java.lang.String[] ignoredColumns
@SerializedName(value="ignore_const_cols") public boolean ignoreConstCols
@SerializedName(value="score_each_iteration") public boolean scoreEachIteration
public ModelKeyV3 checkpoint
@SerializedName(value="stopping_rounds") public int stoppingRounds
@SerializedName(value="max_runtime_secs") public double maxRuntimeSecs
@SerializedName(value="stopping_metric") public ScoreKeeperStoppingMetric stoppingMetric
@SerializedName(value="stopping_tolerance") public double stoppingTolerance
@SerializedName(value="custom_metric_func") public java.lang.String customMetricFunc
@SerializedName(value="export_checkpoints_dir") public java.lang.String exportCheckpointsDir