pub enum WeightLearningAlgorithm {
Uniform,
CenteredKernelAlignment,
MaximumMeanDiscrepancy,
SimpleMKL {
regularization: f64,
},
EasyMKL {
radius: f64,
},
SpectralProjected,
LocalizedMKL {
bandwidth: f64,
},
AdaptiveMKL {
cv_folds: usize,
},
}Expand description
Kernel weight learning algorithm WeightLearningAlgorithm
Variants§
Uniform
Uniform weights (baseline)
CenteredKernelAlignment
Centered kernel alignment optimization
MaximumMeanDiscrepancy
Maximum mean discrepancy minimization
SimpleMKL
SimpleMKL algorithm with QCQP optimization
EasyMKL
EasyMKL algorithm with radius constraint
SpectralProjected
SPKM (Spectral Projected Kernel Machine)
LocalizedMKL
Localized MKL with spatial weights
AdaptiveMKL
Adaptive MKL with cross-validation
Trait Implementations§
Source§impl Clone for WeightLearningAlgorithm
impl Clone for WeightLearningAlgorithm
Source§fn clone(&self) -> WeightLearningAlgorithm
fn clone(&self) -> WeightLearningAlgorithm
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 moreAuto Trait Implementations§
impl Freeze for WeightLearningAlgorithm
impl RefUnwindSafe for WeightLearningAlgorithm
impl Send for WeightLearningAlgorithm
impl Sync for WeightLearningAlgorithm
impl Unpin for WeightLearningAlgorithm
impl UnwindSafe for WeightLearningAlgorithm
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