bigquery
v2
|
#include <training_options.h>
Static Public Member Functions | |
static TrainingOptions * | New () |
No description provided.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'dataSplitColumn
' attribute.
|
inline |
Clears the 'dataSplitEvalFraction
' attribute.
|
inline |
Clears the 'dataSplitMethod
' attribute.
|
inline |
Clears the 'distanceType
' attribute.
|
inline |
Clears the 'earlyStop
' attribute.
|
inline |
Clears the 'initialLearnRate
' attribute.
|
inline |
Clears the 'inputLabelColumns
' attribute.
|
inline |
Clears the 'kmeansInitializationColumn
' attribute.
|
inline |
Clears the 'kmeansInitializationMethod
' attribute.
|
inline |
Clears the 'l1Regularization
' attribute.
|
inline |
Clears the 'l2Regularization
' attribute.
|
inline |
Clears the 'labelClassWeights
' attribute.
|
inline |
Clears the 'learnRate
' attribute.
|
inline |
Clears the 'learnRateStrategy
' attribute.
|
inline |
Clears the 'lossType
' attribute.
|
inline |
Clears the 'maxIterations
' attribute.
|
inline |
Clears the 'minRelativeProgress
' attribute.
|
inline |
Clears the 'modelUri
' attribute.
|
inline |
Clears the 'numClusters
' attribute.
|
inline |
Clears the 'optimizationStrategy
' attribute.
|
inline |
Clears the 'warmStart
' attribute.
|
inline |
Get the value of the 'dataSplitColumn
' attribute.
|
inline |
Get the value of the 'dataSplitEvalFraction
' attribute.
|
inline |
Get the value of the 'dataSplitMethod
' attribute.
|
inline |
Get the value of the 'distanceType
' attribute.
|
inline |
Get the value of the 'earlyStop
' attribute.
|
inline |
Get the value of the 'initialLearnRate
' attribute.
|
inline |
Get a reference to the value of the 'inputLabelColumns
' attribute.
|
inline |
Get the value of the 'kmeansInitializationColumn
' attribute.
|
inline |
Get the value of the 'kmeansInitializationMethod
' attribute.
|
inline |
Get the value of the 'l1Regularization
' attribute.
|
inline |
Get the value of the 'l2Regularization
' attribute.
|
inline |
Get a reference to the value of the 'labelClassWeights
' attribute.
|
inline |
Get the value of the 'learnRate
' attribute.
|
inline |
Get the value of the 'learnRateStrategy
' attribute.
|
inline |
Get the value of the 'lossType
' attribute.
|
inline |
Get the value of the 'maxIterations
' attribute.
|
inline |
Get the value of the 'minRelativeProgress
' attribute.
|
inline |
Get the value of the 'modelUri
' attribute.
|
inline |
Get the value of the 'numClusters
' attribute.
|
inline |
Get the value of the 'optimizationStrategy
' attribute.
|
inline |
Get the value of the 'warmStart
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'dataSplitColumn
' attribute was set.
dataSplitColumn
' attribute was set.
|
inline |
Determine if the 'dataSplitEvalFraction
' attribute was set.
dataSplitEvalFraction
' attribute was set.
|
inline |
Determine if the 'dataSplitMethod
' attribute was set.
dataSplitMethod
' attribute was set.
|
inline |
Determine if the 'distanceType
' attribute was set.
distanceType
' attribute was set.
|
inline |
Determine if the 'earlyStop
' attribute was set.
earlyStop
' attribute was set.
|
inline |
Determine if the 'initialLearnRate
' attribute was set.
initialLearnRate
' attribute was set.
|
inline |
Determine if the 'inputLabelColumns
' attribute was set.
inputLabelColumns
' attribute was set.
|
inline |
Determine if the 'kmeansInitializationColumn
' attribute was set.
kmeansInitializationColumn
' attribute was set.
|
inline |
Determine if the 'kmeansInitializationMethod
' attribute was set.
kmeansInitializationMethod
' attribute was set.
|
inline |
Determine if the 'l1Regularization
' attribute was set.
l1Regularization
' attribute was set.
|
inline |
Determine if the 'l2Regularization
' attribute was set.
l2Regularization
' attribute was set.
|
inline |
Determine if the 'labelClassWeights
' attribute was set.
labelClassWeights
' attribute was set.
|
inline |
Determine if the 'learnRate
' attribute was set.
learnRate
' attribute was set.
|
inline |
Determine if the 'learnRateStrategy
' attribute was set.
learnRateStrategy
' attribute was set.
|
inline |
Determine if the 'lossType
' attribute was set.
lossType
' attribute was set.
|
inline |
Determine if the 'maxIterations
' attribute was set.
maxIterations
' attribute was set.
|
inline |
Determine if the 'minRelativeProgress
' attribute was set.
minRelativeProgress
' attribute was set.
|
inline |
Determine if the 'modelUri
' attribute was set.
modelUri
' attribute was set.
|
inline |
Determine if the 'numClusters
' attribute was set.
numClusters
' attribute was set.
|
inline |
Determine if the 'optimizationStrategy
' attribute was set.
optimizationStrategy
' attribute was set.
|
inline |
Determine if the 'warmStart
' attribute was set.
warmStart
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'inputLabelColumns
' property.
Name of input label columns in training data.
|
inline |
Gets a reference to a mutable value of the 'labelClassWeights
' property.
Weights associated with each label class, for rebalancing the training data. Only applicable for classification models.
|
static |
Creates a new default instance.
|
inline |
Change the 'dataSplitColumn
' attribute.
The column to split data with. This column won't be used as a feature.
[in] | value | The new value. |
|
inline |
Change the 'dataSplitEvalFraction
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'dataSplitMethod
' attribute.
The data split type for training and evaluation, e.g. RANDOM.
[in] | value | The new value. |
|
inline |
Change the 'distanceType
' attribute.
Distance type for clustering models.
[in] | value | The new value. |
|
inline |
Change the 'earlyStop
' attribute.
Whether to stop early when the loss doesn't improve significantly any more (compared to min_relative_progress). Used only for iterative training algorithms.
[in] | value | The new value. |
|
inline |
Change the 'initialLearnRate
' attribute.
Specifies the initial learning rate for the line search learn rate strategy.
[in] | value | The new value. |
|
inline |
Change the 'kmeansInitializationColumn
' attribute.
The column used to provide the initial centroids for kmeans algorithm when kmeans_initialization_method is CUSTOM.
[in] | value | The new value. |
|
inline |
Change the 'kmeansInitializationMethod
' attribute.
The method used to initialize the centroids for kmeans algorithm.
[in] | value | The new value. |
|
inline |
Change the 'l1Regularization
' attribute.
L1 regularization coefficient.
[in] | value | The new value. |
|
inline |
Change the 'l2Regularization
' attribute.
L2 regularization coefficient.
[in] | value | The new value. |
|
inline |
Change the 'learnRate
' attribute.
Learning rate in training. Used only for iterative training algorithms.
[in] | value | The new value. |
|
inline |
Change the 'learnRateStrategy
' attribute.
The strategy to determine learn rate for the current iteration.
[in] | value | The new value. |
|
inline |
Change the 'lossType
' attribute.
Type of loss function used during training run.
[in] | value | The new value. |
|
inline |
Change the 'maxIterations
' attribute.
The maximum number of iterations in training. Used only for iterative training algorithms.
[in] | value | The new value. |
|
inline |
Change the 'minRelativeProgress
' attribute.
When early_stop is true, stops training when accuracy improvement is less than 'min_relative_progress'. Used only for iterative training algorithms.
[in] | value | The new value. |
|
inline |
Change the 'modelUri
' attribute.
[Beta] Google Cloud Storage URI from which the model was imported. Only applicable for imported models.
[in] | value | The new value. |
|
inline |
Change the 'numClusters
' attribute.
Number of clusters for clustering models.
[in] | value | The new value. |
|
inline |
Change the 'optimizationStrategy
' attribute.
Optimization strategy for training linear regression models.
[in] | value | The new value. |
|
inline |
Change the 'warmStart
' attribute.
Whether to train a model from the last checkpoint.
[in] | value | The new value. |