pub struct TrainingRun {
pub loss: f32,
pub features_removed: usize,
}Expand description
Outcome of LogisticRegression::fit
Fields§
§loss: f32Mean log loss of the final epoch
features_removed: usizeFeatures dropped after training
Trait Implementations§
Source§impl Clone for TrainingRun
impl Clone for TrainingRun
impl Copy for TrainingRun
Source§impl Debug for TrainingRun
impl Debug for TrainingRun
Source§impl PartialEq for TrainingRun
impl PartialEq for TrainingRun
impl StructuralPartialEq for TrainingRun
Auto Trait Implementations§
impl Freeze for TrainingRun
impl RefUnwindSafe for TrainingRun
impl Send for TrainingRun
impl Sync for TrainingRun
impl Unpin for TrainingRun
impl UnsafeUnpin for TrainingRun
impl UnwindSafe for TrainingRun
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> 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