Struct google_api_proto::google::cloud::aiplatform::v1::TimestampSplit
source · pub struct TimestampSplit {
pub training_fraction: f64,
pub validation_fraction: f64,
pub test_fraction: f64,
pub key: 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.
Fields§
§training_fraction: f64
The fraction of the input data that is to be used to train the Model.
validation_fraction: f64
The fraction of the input data that is to be used to validate the Model.
test_fraction: f64
The fraction of the input data that is to be used to evaluate the Model.
key: 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 TimestampSplit
impl Clone for TimestampSplit
source§fn clone(&self) -> TimestampSplit
fn clone(&self) -> TimestampSplit
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TimestampSplit
impl Debug for TimestampSplit
source§impl Default for TimestampSplit
impl Default for TimestampSplit
source§impl Message for TimestampSplit
impl Message for TimestampSplit
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 TimestampSplit
impl PartialEq for TimestampSplit
source§fn eq(&self, other: &TimestampSplit) -> bool
fn eq(&self, other: &TimestampSplit) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimestampSplit
Auto Trait Implementations§
impl Freeze for TimestampSplit
impl RefUnwindSafe for TimestampSplit
impl Send for TimestampSplit
impl Sync for TimestampSplit
impl Unpin for TimestampSplit
impl UnwindSafe for TimestampSplit
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