pub struct TrainingInfo {
pub source: Option<String>,
pub n_samples: Option<u64>,
pub n_features: Option<u64>,
pub duration_ms: Option<u64>,
pub random_seed: Option<u64>,
pub test_size: Option<f64>,
}Expand description
Training information
Fields§
§source: Option<String>Data source
n_samples: Option<u64>Number of training samples
n_features: Option<u64>Number of features
duration_ms: Option<u64>Training duration in milliseconds
random_seed: Option<u64>Random seed used
test_size: Option<f64>Test set size (fraction)
Trait Implementations§
Source§impl Clone for TrainingInfo
impl Clone for TrainingInfo
Source§fn clone(&self) -> TrainingInfo
fn clone(&self) -> TrainingInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrainingInfo
impl Debug for TrainingInfo
Source§impl Default for TrainingInfo
impl Default for TrainingInfo
Source§fn default() -> TrainingInfo
fn default() -> TrainingInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrainingInfo
impl RefUnwindSafe for TrainingInfo
impl Send for TrainingInfo
impl Sync for TrainingInfo
impl Unpin for TrainingInfo
impl UnwindSafe for TrainingInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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