#[non_exhaustive]pub struct TrainingConfig {
pub timeout_training_milli_hours: i64,
/* private fields */
}Expand description
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.timeout_training_milli_hours: i64The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour.
Implementations§
Source§impl TrainingConfig
impl TrainingConfig
pub fn new() -> Self
Sourcepub fn set_timeout_training_milli_hours<T: Into<i64>>(self, v: T) -> Self
pub fn set_timeout_training_milli_hours<T: Into<i64>>(self, v: T) -> Self
Sets the value of timeout_training_milli_hours.
Trait Implementations§
Source§impl Clone for TrainingConfig
impl Clone for TrainingConfig
Source§fn clone(&self) -> TrainingConfig
fn clone(&self) -> TrainingConfig
Returns a copy 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 Debug for TrainingConfig
impl Debug for TrainingConfig
Source§impl Default for TrainingConfig
impl Default for TrainingConfig
Source§fn default() -> TrainingConfig
fn default() -> TrainingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrainingConfigwhere
TrainingConfig: Default,
impl<'de> Deserialize<'de> for TrainingConfigwhere
TrainingConfig: Default,
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
Source§impl Message for TrainingConfig
impl Message for TrainingConfig
Source§impl PartialEq for TrainingConfig
impl PartialEq for TrainingConfig
Source§impl Serialize for TrainingConfig
impl Serialize for TrainingConfig
impl StructuralPartialEq for TrainingConfig
Auto Trait Implementations§
impl Freeze for TrainingConfig
impl RefUnwindSafe for TrainingConfig
impl Send for TrainingConfig
impl Sync for TrainingConfig
impl Unpin for TrainingConfig
impl UnwindSafe for TrainingConfig
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