pub struct ModelComplexityAnalyzer { /* private fields */ }Expand description
Model complexity analyzer
Implementations§
Source§impl ModelComplexityAnalyzer
impl ModelComplexityAnalyzer
Sourcepub fn with_config(config: ComplexityAnalysisConfig) -> Self
pub fn with_config(config: ComplexityAnalysisConfig) -> Self
Create a new complexity analyzer with custom configuration
Sourcepub fn overfitting_threshold(self, threshold: f64) -> Self
pub fn overfitting_threshold(self, threshold: f64) -> Self
Set overfitting threshold
Sourcepub fn underfitting_threshold(self, threshold: f64) -> Self
pub fn underfitting_threshold(self, threshold: f64) -> Self
Set underfitting threshold
Sourcepub fn use_cross_validation(self, use_cv: bool) -> Self
pub fn use_cross_validation(self, use_cv: bool) -> Self
Enable or disable cross-validation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelComplexityAnalyzer
impl RefUnwindSafe for ModelComplexityAnalyzer
impl Send for ModelComplexityAnalyzer
impl Sync for ModelComplexityAnalyzer
impl Unpin for ModelComplexityAnalyzer
impl UnwindSafe for ModelComplexityAnalyzer
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> 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