TrainingOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Options used in model training.
The maximum number of iterations in training. Used only for iterative training algorithms.
Type of loss function used during training run.
Learning rate in training. Used only for iterative training algorithms.
L1 regularization coefficient.
L2 regularization coefficient.
When early_stop is true, stops training when accuracy improvement is less than 'min_relative_progress'. Used only for iterative training algorithms.
Whether to train a model from the last checkpoint.
Whether to stop early when the loss doesn't improve significantly any more (compared to min_relative_progress). Used only for iterative training algorithms.
Name of input label columns in training data.
The data split type for training and evaluation, e.g. RANDOM.
The fraction of evaluation data over the whole input data. The rest of data will be used as training data. The format should be double. Accurate to two decimal places. Default value is 0.2.
The column to split data with. This column won't be used as a feature. 1. When data_split_method is CUSTOM, the corresponding column should be boolean. The rows with true value tag are eval data, and the false are training data. 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION rows (from smallest to largest) in the corresponding column are used as training data, and the rest are eval data. It respects the order in Orderable data types: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data-type-properties
The strategy to determine learn rate for the current iteration.
Specifies the initial learning rate for the line search learn rate strategy.
Weights associated with each label class, for rebalancing the training data. Only applicable for classification models.
User column specified for matrix factorization models.
Item column specified for matrix factorization models.
Distance type for clustering models.
Number of clusters for clustering models.
Google Cloud Storage URI from which the model was imported. Only applicable for imported models.
Optimization strategy for training linear regression models.
Hidden units for dnn models.
Batch size for dnn models.
Dropout probability for dnn models.
Maximum depth of a tree for boosted tree models.
Subsample fraction of the training data to grow tree to prevent overfitting for boosted tree models.
Minimum split loss for boosted tree models.
Num factors specified for matrix factorization models.
Feedback type that specifies which algorithm to run for matrix factorization.
Hyperparameter for matrix factoration when implicit feedback type is specified.
The method used to initialize the centroids for kmeans algorithm.
The column used to provide the initial centroids for kmeans algorithm when kmeans_initialization_method is CUSTOM.
Column to be designated as time series timestamp for ARIMA model.
Column to be designated as time series data for ARIMA model.
Whether to enable auto ARIMA or not.
A specification of the non-seasonal part of the ARIMA model: the three components (p, d, q) are the AR order, the degree of differencing, and the MA order.
The data frequency of a time series.
Include drift when fitting an ARIMA model.
The geographical region based on which the holidays are considered in time series modeling. If a valid value is specified, then holiday effects modeling is enabled.
The time series id column that was used during ARIMA model training.
The time series id columns that were used during ARIMA model training.
The number of periods ahead that need to be forecasted.
Whether to preserve the input structs in output feature names. Suppose there is a struct A with field b. When false (default), the output feature name is A_b. When true, the output feature name is A.b.
The max value of non-seasonal p and q.
If true, perform decompose time series and save the results.
If true, clean spikes and dips in the input time series.
If true, detect step changes and make data adjustment in the input time series.
Inheritancebuiltins.object > proto.message.Message > TrainingOptions
LabelClassWeightsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Keys and values corresponding to the fields of the message.
A dictionary or message to be used to determine the values for this message.
If True, do not raise errors for unknown fields. Only applied if
Delete the value on the given field.
This is generally equivalent to setting a falsy value.
Return True if the messages are equal, False otherwise.
Return True if the messages are unequal, False otherwise.
Set the value on the given field.
For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.