pub struct MultiTaskEnsembleConfigBuilder { /* private fields */ }Implementations§
Source§impl MultiTaskEnsembleConfigBuilder
impl MultiTaskEnsembleConfigBuilder
pub fn n_estimators_per_task(self, n_estimators: usize) -> Self
pub fn sharing_strategy(self, strategy: TaskSharingStrategy) -> Self
pub fn similarity_metric(self, metric: TaskSimilarityMetric) -> Self
pub fn min_similarity_threshold(self, threshold: f64) -> Self
pub fn task_weighting(self, weighting: TaskWeightingStrategy) -> Self
pub fn use_task_specific_features(self, use_specific: bool) -> Self
pub fn sharing_regularization(self, regularization: f64) -> Self
pub fn cross_task_validation(self, validation: CrossTaskValidation) -> Self
pub fn build(self) -> MultiTaskEnsembleConfig
Trait Implementations§
Source§impl Default for MultiTaskEnsembleConfigBuilder
impl Default for MultiTaskEnsembleConfigBuilder
Source§fn default() -> MultiTaskEnsembleConfigBuilder
fn default() -> MultiTaskEnsembleConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MultiTaskEnsembleConfigBuilder
impl RefUnwindSafe for MultiTaskEnsembleConfigBuilder
impl Send for MultiTaskEnsembleConfigBuilder
impl Sync for MultiTaskEnsembleConfigBuilder
impl Unpin for MultiTaskEnsembleConfigBuilder
impl UnwindSafe for MultiTaskEnsembleConfigBuilder
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