pub struct GoogleCloudAiplatformV1FractionSplit {
pub validation_fraction: Option<f64>,
pub training_fraction: Option<f64>,
pub test_fraction: Option<f64>,
}Expand description
Assigns the input data to training, validation, and test sets as per the given fractions. Any of training_fraction, validation_fraction and test_fraction may optionally be provided, they must sum to up to 1. If the provided ones sum to less than 1, the remainder is assigned to sets as decided by Vertex AI. If none of the fractions are set, by default roughly 80% of data is used for training, 10% for validation, and 10% for test.
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.
training_fraction: Option<f64>The fraction of the input data that is to be used to train the Model.
test_fraction: Option<f64>The fraction of the input data that is to be used to evaluate the Model.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1FractionSplit
impl Clone for GoogleCloudAiplatformV1FractionSplit
Source§fn clone(&self) -> GoogleCloudAiplatformV1FractionSplit
fn clone(&self) -> GoogleCloudAiplatformV1FractionSplit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudAiplatformV1FractionSplit
impl Default for GoogleCloudAiplatformV1FractionSplit
Source§fn default() -> GoogleCloudAiplatformV1FractionSplit
fn default() -> GoogleCloudAiplatformV1FractionSplit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1FractionSplit
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1FractionSplit
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudAiplatformV1FractionSplit
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1FractionSplit
impl RefUnwindSafe for GoogleCloudAiplatformV1FractionSplit
impl Send for GoogleCloudAiplatformV1FractionSplit
impl Sync for GoogleCloudAiplatformV1FractionSplit
impl Unpin for GoogleCloudAiplatformV1FractionSplit
impl UnwindSafe for GoogleCloudAiplatformV1FractionSplit
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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