public class NaiveBayesParametersV3 extends ModelParametersSchema
| Modifier and Type | Field and Description |
|---|---|
boolean |
balance_classes
Balance training data class counts via over/under-sampling (for imbalanced data).
|
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_metrics
Compute metrics on training data
|
double |
eps_prob
Cutoff below which probability is replaced with min_prob
|
double |
eps_sdev
Cutoff below which standard deviation is replaced with min_sdev
|
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
|
boolean |
ignore_const_cols
Ignore constant columns
|
java.lang.String[] |
ignored_columns
Ignored columns
|
boolean |
keep_cross_validation_predictions
Keep cross-validation model predictions
|
double |
laplace
Laplace smoothing parameter
|
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.
|
double |
max_runtime_secs
Maximum allowed runtime in seconds for model training.
|
double |
min_prob
Min.
|
double |
min_sdev
Min.
|
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
|
ColSpecifierV3 |
offset_column
Offset column
|
boolean |
parallelize_cross_validation
Allow parallel training of cross-validation models
|
ColSpecifierV3 |
response_column
Response column
|
boolean |
score_each_iteration
Whether to score during each iteration of model training
|
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
|
java.lang.String |
validation_frame
Validation frame
|
ColSpecifierV3 |
weights_column
Column with observation weights
|
| Constructor and Description |
|---|
NaiveBayesParametersV3() |
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 double laplace
public double min_sdev
public double eps_sdev
public double min_prob
public double eps_prob
public boolean compute_metrics
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