pub struct GoogleCloudAiplatformV1TimestampSplit {
pub validation_fraction: Option<f64>,
pub test_fraction: Option<f64>,
pub training_fraction: Option<f64>,
pub key: Option<String>,
}Expand description
Assigns input data to training, validation, and test sets based on a provided timestamps. The youngest data pieces are assigned to training set, next to validation set, and the oldest to the test set. Supported only for tabular Datasets.
This type is not used in any activity, and only used as part of another schema.
Fields§
§validation_fraction: Option<f64>The fraction of the input data that is to be used to validate the Model.
test_fraction: Option<f64>The fraction of the input data that is to be used to evaluate the Model.
training_fraction: Option<f64>The fraction of the input data that is to be used to train the Model.
key: Option<String>Required. The key is a name of one of the Dataset’s data columns. The values of the key (the values in the column) must be in RFC 3339 date-time format, where time-offset = "Z" (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1TimestampSplit
impl Clone for GoogleCloudAiplatformV1TimestampSplit
Source§fn clone(&self) -> GoogleCloudAiplatformV1TimestampSplit
fn clone(&self) -> GoogleCloudAiplatformV1TimestampSplit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1TimestampSplit
impl Default for GoogleCloudAiplatformV1TimestampSplit
Source§fn default() -> GoogleCloudAiplatformV1TimestampSplit
fn default() -> GoogleCloudAiplatformV1TimestampSplit
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1TimestampSplit
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1TimestampSplit
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 GoogleCloudAiplatformV1TimestampSplit
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1TimestampSplit
impl RefUnwindSafe for GoogleCloudAiplatformV1TimestampSplit
impl Send for GoogleCloudAiplatformV1TimestampSplit
impl Sync for GoogleCloudAiplatformV1TimestampSplit
impl Unpin for GoogleCloudAiplatformV1TimestampSplit
impl UnwindSafe for GoogleCloudAiplatformV1TimestampSplit
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