pub struct MultiLabelEnsembleConfig {
pub n_estimators: usize,
pub transformation_strategy: LabelTransformationStrategy,
pub aggregation_method: MultiLabelAggregationMethod,
pub correlation_method: LabelCorrelationMethod,
pub threshold: f64,
pub random_state: Option<u64>,
pub prune_labelsets: bool,
pub max_labelsets: Option<usize>,
pub chain_order: Option<Vec<usize>>,
pub ensemble_chains: bool,
pub n_chains: usize,
}Expand description
Configuration for multi-label ensemble methods
Fields§
§n_estimators: usizeNumber of base estimators
transformation_strategy: LabelTransformationStrategyMulti-label transformation strategy
aggregation_method: MultiLabelAggregationMethodEnsemble aggregation method for multi-label predictions
correlation_method: LabelCorrelationMethodLabel correlation handling approach
threshold: f64Threshold for binary relevance predictions
random_state: Option<u64>Random state for reproducibility
prune_labelsets: boolWhether to use label powerset pruning
max_labelsets: Option<usize>Maximum number of labelsets to consider
chain_order: Option<Vec<usize>>Label dependency order for classifier chains
ensemble_chains: boolWhether to use ensemble of chains
n_chains: usizeNumber of chains in ensemble chains
Trait Implementations§
Source§impl Clone for MultiLabelEnsembleConfig
impl Clone for MultiLabelEnsembleConfig
Source§fn clone(&self) -> MultiLabelEnsembleConfig
fn clone(&self) -> MultiLabelEnsembleConfig
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 MultiLabelEnsembleConfig
impl Debug for MultiLabelEnsembleConfig
Auto Trait Implementations§
impl Freeze for MultiLabelEnsembleConfig
impl RefUnwindSafe for MultiLabelEnsembleConfig
impl Send for MultiLabelEnsembleConfig
impl Sync for MultiLabelEnsembleConfig
impl Unpin for MultiLabelEnsembleConfig
impl UnwindSafe for MultiLabelEnsembleConfig
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