pub struct MultiModalFeatureSelectorBuilder { /* private fields */ }Expand description
Builder for MultiModalFeatureSelector configuration.
Implementations§
Source§impl MultiModalFeatureSelectorBuilder
impl MultiModalFeatureSelectorBuilder
pub fn new() -> Self
Sourcepub fn fusion_strategy(self, strategy: &str) -> Self
pub fn fusion_strategy(self, strategy: &str) -> Self
Fusion strategy: “early”, “late”, or “hybrid”.
Sourcepub fn modality_weights<I>(self, weights: I) -> Self
pub fn modality_weights<I>(self, weights: I) -> Self
Set weights for different modalities.
Sourcepub fn modality_k<I>(self, k_values: I) -> Self
pub fn modality_k<I>(self, k_values: I) -> Self
Set number of features to select per modality (for late fusion).
Sourcepub fn cross_modal_analysis(self, enable: bool) -> Self
pub fn cross_modal_analysis(self, enable: bool) -> Self
Whether to perform cross-modal correlation analysis.
Sourcepub fn cross_modal_threshold(self, threshold: f64) -> Self
pub fn cross_modal_threshold(self, threshold: f64) -> Self
Threshold for cross-modal correlation significance.
Sourcepub fn normalize_modalities(self, normalize: bool) -> Self
pub fn normalize_modalities(self, normalize: bool) -> Self
Whether to normalize features within each modality.
Sourcepub fn handle_missing_modalities(self, handle: bool) -> Self
pub fn handle_missing_modalities(self, handle: bool) -> Self
Whether to handle missing modalities gracefully.
Sourcepub fn min_modalities_required(self, min: usize) -> Self
pub fn min_modalities_required(self, min: usize) -> Self
Minimum number of modalities required for processing.
Sourcepub fn missing_strategy(self, strategy: &str) -> Self
pub fn missing_strategy(self, strategy: &str) -> Self
Strategy for handling missing modalities: “ignore”, “impute”, or “error”.
Sourcepub fn score_threshold(self, threshold: f64) -> Self
pub fn score_threshold(self, threshold: f64) -> Self
Minimum score threshold for feature selection.
Sourcepub fn correlation_method(self, method: &str) -> Self
pub fn correlation_method(self, method: &str) -> Self
Correlation method: “pearson”, “spearman”, or “mutual_info”.
Sourcepub fn interaction_analysis(self, enable: bool) -> Self
pub fn interaction_analysis(self, enable: bool) -> Self
Whether to analyze feature interactions across modalities.
Sourcepub fn max_interaction_order(self, order: usize) -> Self
pub fn max_interaction_order(self, order: usize) -> Self
Maximum order of interactions to consider (2 = pairwise, 3 = three-way, etc.).
Sourcepub fn build(self) -> MultiModalFeatureSelector<Untrained>
pub fn build(self) -> MultiModalFeatureSelector<Untrained>
Builds the MultiModalFeatureSelector.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MultiModalFeatureSelectorBuilder
impl RefUnwindSafe for MultiModalFeatureSelectorBuilder
impl Send for MultiModalFeatureSelectorBuilder
impl Sync for MultiModalFeatureSelectorBuilder
impl Unpin for MultiModalFeatureSelectorBuilder
impl UnwindSafe for MultiModalFeatureSelectorBuilder
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
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.