Struct google_api_proto::google::cloud::aiplatform::v1::schema::trainingjob::definition::AutoMlTablesInputs
source · pub struct AutoMlTablesInputs {
pub prediction_type: String,
pub target_column: String,
pub transformations: Vec<Transformation>,
pub optimization_objective: String,
pub train_budget_milli_node_hours: i64,
pub disable_early_stopping: bool,
pub weight_column_name: String,
pub export_evaluated_data_items_config: Option<ExportEvaluatedDataItemsConfig>,
pub additional_experiments: Vec<String>,
pub additional_optimization_objective_config: Option<AdditionalOptimizationObjectiveConfig>,
}
Fields§
§prediction_type: String
The type of prediction the Model is to produce. “classification” - Predict one out of multiple target values is picked for each row. “regression” - Predict a value based on its relation to other values. This type is available only to columns that contain semantically numeric values, i.e. integers or floating point number, even if stored as e.g. strings.
target_column: String
The column name of the target column that the model is to predict.
transformations: Vec<Transformation>
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using “.” as the delimiter.
optimization_objective: String
Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set.
The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used.
classification (binary): “maximize-au-roc” (default) - Maximize the area under the receiver operating characteristic (ROC) curve. “minimize-log-loss” - Minimize log loss. “maximize-au-prc” - Maximize the area under the precision-recall curve. “maximize-precision-at-recall” - Maximize precision for a specified recall value. “maximize-recall-at-precision” - Maximize recall for a specified precision value.
classification (multi-class): “minimize-log-loss” (default) - Minimize log loss.
regression: “minimize-rmse” (default) - Minimize root-mean-squared error (RMSE). “minimize-mae” - Minimize mean-absolute error (MAE). “minimize-rmsle” - Minimize root-mean-squared log error (RMSLE).
train_budget_milli_node_hours: i64
Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour.
The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend’s discretion. This especially may happen when further model training ceases to provide any improvements.
If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won’t be attempted and will error.
The train budget must be between 1,000 and 72,000 milli node hours, inclusive.
disable_early_stopping: bool
Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.
weight_column_name: String
Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.
export_evaluated_data_items_config: Option<ExportEvaluatedDataItemsConfig>
Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
additional_experiments: Vec<String>
Additional experiment flags for the Tables training pipeline.
additional_optimization_objective_config: Option<AdditionalOptimizationObjectiveConfig>
Additional optimization objective configuration. Required for
maximize-precision-at-recall
and maximize-recall-at-precision
,
otherwise unused.
Trait Implementations§
source§impl Clone for AutoMlTablesInputs
impl Clone for AutoMlTablesInputs
source§fn clone(&self) -> AutoMlTablesInputs
fn clone(&self) -> AutoMlTablesInputs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMlTablesInputs
impl Debug for AutoMlTablesInputs
source§impl Default for AutoMlTablesInputs
impl Default for AutoMlTablesInputs
source§impl Message for AutoMlTablesInputs
impl Message for AutoMlTablesInputs
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AutoMlTablesInputs
impl PartialEq for AutoMlTablesInputs
source§fn eq(&self, other: &AutoMlTablesInputs) -> bool
fn eq(&self, other: &AutoMlTablesInputs) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoMlTablesInputs
Auto Trait Implementations§
impl Freeze for AutoMlTablesInputs
impl RefUnwindSafe for AutoMlTablesInputs
impl Send for AutoMlTablesInputs
impl Sync for AutoMlTablesInputs
impl Unpin for AutoMlTablesInputs
impl UnwindSafe for AutoMlTablesInputs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request