Struct gapi_grpc::google::cloud::aiplatform::v1::SampleConfig[][src]

pub struct SampleConfig {
    pub sample_strategy: i32,
    pub initial_batch_sample_size: Option<InitialBatchSampleSize>,
    pub following_batch_sample_size: Option<FollowingBatchSampleSize>,
}

Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.

Fields

sample_strategy: i32

Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.

initial_batch_sample_size: Option<InitialBatchSampleSize>

Decides sample size for the initial batch. initial_batch_sample_percentage is used by default.

following_batch_sample_size: Option<FollowingBatchSampleSize>

Decides sample size for the following batches. following_batch_sample_percentage is used by default.

Implementations

impl SampleConfig[src]

pub fn sample_strategy(&self) -> SampleStrategy[src]

Returns the enum value of sample_strategy, or the default if the field is set to an invalid enum value.

pub fn set_sample_strategy(&mut self, value: SampleStrategy)[src]

Sets sample_strategy to the provided enum value.

Trait Implementations

impl Clone for SampleConfig[src]

impl Debug for SampleConfig[src]

impl Default for SampleConfig[src]

impl Message for SampleConfig[src]

impl PartialEq<SampleConfig> for SampleConfig[src]

impl StructuralPartialEq for SampleConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for SampleConfig

impl Send for SampleConfig

impl Sync for SampleConfig

impl Unpin for SampleConfig

impl UnwindSafe for SampleConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]