pub struct DynamicEnsembleSelectorBuilder { /* private fields */ }Expand description
DynamicEnsembleSelector builder for fluent construction
Implementations§
Source§impl DynamicEnsembleSelectorBuilder
impl DynamicEnsembleSelectorBuilder
Sourcepub fn estimator(
self,
name: &str,
estimator: Box<dyn PipelinePredictor>,
) -> Self
pub fn estimator( self, name: &str, estimator: Box<dyn PipelinePredictor>, ) -> Self
Add an estimator
Sourcepub fn selection_strategy(self, strategy: SelectionStrategy) -> Self
pub fn selection_strategy(self, strategy: SelectionStrategy) -> Self
Set selection strategy
Sourcepub fn competence_estimation(self, method: CompetenceEstimation) -> Self
pub fn competence_estimation(self, method: CompetenceEstimation) -> Self
Set competence estimation method
Sourcepub fn validation_split(self, split: f64) -> Self
pub fn validation_split(self, split: f64) -> Self
Set validation split ratio
Sourcepub fn build(self) -> DynamicEnsembleSelector<Untrained>
pub fn build(self) -> DynamicEnsembleSelector<Untrained>
Build the DynamicEnsembleSelector
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DynamicEnsembleSelectorBuilder
impl !RefUnwindSafe for DynamicEnsembleSelectorBuilder
impl Send for DynamicEnsembleSelectorBuilder
impl Sync for DynamicEnsembleSelectorBuilder
impl Unpin for DynamicEnsembleSelectorBuilder
impl !UnwindSafe for DynamicEnsembleSelectorBuilder
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