pub struct MultiTaskEnsembleConfig {
pub n_estimators_per_task: usize,
pub sharing_strategy: TaskSharingStrategy,
pub similarity_metric: TaskSimilarityMetric,
pub min_similarity_threshold: f64,
pub task_weighting: TaskWeightingStrategy,
pub use_task_specific_features: bool,
pub n_shared_features: Option<usize>,
pub sharing_regularization: f64,
pub max_task_depth: usize,
pub cross_task_validation: CrossTaskValidation,
}Expand description
Configuration for multi-task ensemble learning
Fields§
§n_estimators_per_task: usizeNumber of base estimators per task
sharing_strategy: TaskSharingStrategyTask sharing strategy
similarity_metric: TaskSimilarityMetricTask similarity metric for adaptive sharing
min_similarity_threshold: f64Minimum task similarity threshold for sharing
task_weighting: TaskWeightingStrategyTask weighting strategy
use_task_specific_features: boolWhether to use task-specific feature selection
Number of shared features across tasks
sharing_regularization: f64Regularization strength for task sharing
max_task_depth: usizeMaximum depth for task hierarchy
cross_task_validation: CrossTaskValidationCross-task validation strategy
Implementations§
Trait Implementations§
Source§impl Clone for MultiTaskEnsembleConfig
impl Clone for MultiTaskEnsembleConfig
Source§fn clone(&self) -> MultiTaskEnsembleConfig
fn clone(&self) -> MultiTaskEnsembleConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultiTaskEnsembleConfig
impl Debug for MultiTaskEnsembleConfig
Auto Trait Implementations§
impl Freeze for MultiTaskEnsembleConfig
impl RefUnwindSafe for MultiTaskEnsembleConfig
impl Send for MultiTaskEnsembleConfig
impl Sync for MultiTaskEnsembleConfig
impl Unpin for MultiTaskEnsembleConfig
impl UnwindSafe for MultiTaskEnsembleConfig
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