pub struct GoogleCloudAiplatformV1InputDataConfig {
pub timestamp_split: Option<GoogleCloudAiplatformV1TimestampSplit>,
pub annotation_schema_uri: Option<String>,
pub bigquery_destination: Option<GoogleCloudAiplatformV1BigQueryDestination>,
pub fraction_split: Option<GoogleCloudAiplatformV1FractionSplit>,
pub gcs_destination: Option<GoogleCloudAiplatformV1GcsDestination>,
pub predefined_split: Option<GoogleCloudAiplatformV1PredefinedSplit>,
pub saved_query_id: Option<String>,
pub persist_ml_use_assignment: Option<bool>,
pub stratified_split: Option<GoogleCloudAiplatformV1StratifiedSplit>,
pub annotations_filter: Option<String>,
pub filter_split: Option<GoogleCloudAiplatformV1FilterSplit>,
pub dataset_id: Option<String>,
}Expand description
Specifies Vertex AI owned input data to be used for training, and possibly evaluating, the Model.
This type is not used in any activity, and only used as part of another schema.
Fields§
§timestamp_split: Option<GoogleCloudAiplatformV1TimestampSplit>Supported only for tabular Datasets. Split based on the timestamp of the input data pieces.
annotation_schema_uri: Option<String>Applicable only to custom training with Datasets that have DataItems and Annotations. Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the chosen schema must be consistent with metadata of the Dataset specified by dataset_id. Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.
bigquery_destination: Option<GoogleCloudAiplatformV1BigQueryDestination>Only applicable to custom training with tabular Dataset with BigQuery source. The BigQuery project location where the training data is to be written to. In the given project a new dataset is created with name dataset___ where timestamp is in YYYY_MM_DDThh_mm_ss_sssZ format. All training input data is written into that dataset. In the dataset three tables are created, training, validation and test. * AIP_DATA_FORMAT = “bigquery”. * AIP_TRAINING_DATA_URI = “bigquery_destination.dataset___.training” * AIP_VALIDATION_DATA_URI = “bigquery_destination.dataset___.validation” * AIP_TEST_DATA_URI = “bigquery_destination.dataset___.test”
fraction_split: Option<GoogleCloudAiplatformV1FractionSplit>Split based on fractions defining the size of each set.
gcs_destination: Option<GoogleCloudAiplatformV1GcsDestination>The Cloud Storage location where the training data is to be written to. In the given directory a new directory is created with name: dataset--- where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All training input data is written into that directory. The Vertex AI environment variables representing Cloud Storage data URIs are represented in the Cloud Storage wildcard format to support sharded data. e.g.: “gs://…/training-.jsonl” * AIP_DATA_FORMAT = “jsonl” for non-tabular data, “csv” for tabular data * AIP_TRAINING_DATA_URI = “gcs_destination/dataset—/training-.${AIP_DATA_FORMAT}” * AIP_VALIDATION_DATA_URI = “gcs_destination/dataset—/validation-.${AIP_DATA_FORMAT}” * AIP_TEST_DATA_URI = “gcs_destination/dataset—/test-.${AIP_DATA_FORMAT}”
predefined_split: Option<GoogleCloudAiplatformV1PredefinedSplit>Supported only for tabular Datasets. Split based on a predefined key.
saved_query_id: Option<String>Only applicable to Datasets that have SavedQueries. The ID of a SavedQuery (annotation set) under the Dataset specified by dataset_id used for filtering Annotations for training. Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter. Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.
persist_ml_use_assignment: Option<bool>Whether to persist the ML use assignment to data item system labels.
stratified_split: Option<GoogleCloudAiplatformV1StratifiedSplit>Supported only for tabular Datasets. Split based on the distribution of the specified column.
annotations_filter: Option<String>Applicable only to Datasets that have DataItems and Annotations. A filter on Annotations of the Dataset. Only Annotations that both match this filter and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on (for the auto-assigned that role is decided by Vertex AI). A filter with same syntax as the one used in ListAnnotations may be used, but note here it filters across all Annotations of the Dataset, and not just within a single DataItem.
filter_split: Option<GoogleCloudAiplatformV1FilterSplit>Split based on the provided filters for each set.
dataset_id: Option<String>Required. The ID of the Dataset in the same Project and Location which data will be used to train the Model. The Dataset must use schema compatible with Model being trained, and what is compatible should be described in the used TrainingPipeline’s training_task_definition. For tabular Datasets, all their data is exported to training, to pick and choose from.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1InputDataConfig
impl Clone for GoogleCloudAiplatformV1InputDataConfig
Source§fn clone(&self) -> GoogleCloudAiplatformV1InputDataConfig
fn clone(&self) -> GoogleCloudAiplatformV1InputDataConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1InputDataConfig
impl Default for GoogleCloudAiplatformV1InputDataConfig
Source§fn default() -> GoogleCloudAiplatformV1InputDataConfig
fn default() -> GoogleCloudAiplatformV1InputDataConfig
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1InputDataConfig
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1InputDataConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudAiplatformV1InputDataConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1InputDataConfig
impl RefUnwindSafe for GoogleCloudAiplatformV1InputDataConfig
impl Send for GoogleCloudAiplatformV1InputDataConfig
impl Sync for GoogleCloudAiplatformV1InputDataConfig
impl Unpin for GoogleCloudAiplatformV1InputDataConfig
impl UnwindSafe for GoogleCloudAiplatformV1InputDataConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more