pub struct ModelSelection { /* private fields */ }Expand description
Model selection
Implementations§
Source§impl ModelSelection
impl ModelSelection
pub fn new() -> Self
pub fn initialize(&mut self) -> Result<(), StatisticalError>
Sourcepub fn selection_criteria(&self) -> &[SelectionCriterion]
pub fn selection_criteria(&self) -> &[SelectionCriterion]
Returns the list of registered selection criteria.
Sourcepub fn add_selection_criterion(&mut self, criterion: SelectionCriterion)
pub fn add_selection_criterion(&mut self, criterion: SelectionCriterion)
Register an additional selection criterion if not already present.
Sourcepub fn cross_validation(&self) -> &CrossValidation
pub fn cross_validation(&self) -> &CrossValidation
Returns a reference to the cross-validation configuration.
Sourcepub fn cross_validation_mut(&mut self) -> &mut CrossValidation
pub fn cross_validation_mut(&mut self) -> &mut CrossValidation
Returns a mutable reference to the cross-validation configuration.
Sourcepub fn hyperparameter_tuning(&self) -> &HyperparameterTuning
pub fn hyperparameter_tuning(&self) -> &HyperparameterTuning
Returns a reference to the hyperparameter tuning configuration.
Sourcepub fn hyperparameter_tuning_mut(&mut self) -> &mut HyperparameterTuning
pub fn hyperparameter_tuning_mut(&mut self) -> &mut HyperparameterTuning
Returns a mutable reference to the hyperparameter tuning configuration.
Auto Trait Implementations§
impl Freeze for ModelSelection
impl RefUnwindSafe for ModelSelection
impl Send for ModelSelection
impl Sync for ModelSelection
impl Unpin for ModelSelection
impl UnsafeUnpin for ModelSelection
impl UnwindSafe for ModelSelection
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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