pub struct KernelAlignmentMetric;Expand description
Kernel alignment quality metric
Trait Implementations§
Source§impl ApproximationQuality for KernelAlignmentMetric
impl ApproximationQuality for KernelAlignmentMetric
Source§fn compute(
&self,
exact_kernel: &Array2<f64>,
approx_kernel: &Array2<f64>,
) -> Result<f64, SklearsError>
fn compute( &self, exact_kernel: &Array2<f64>, approx_kernel: &Array2<f64>, ) -> Result<f64, SklearsError>
Compute approximation quality metric
Source§fn higher_is_better(&self) -> bool
fn higher_is_better(&self) -> bool
Check if higher values indicate better quality
Source§fn acceptable_threshold(&self) -> Option<f64>
fn acceptable_threshold(&self) -> Option<f64>
Get acceptable quality threshold
Source§impl Clone for KernelAlignmentMetric
impl Clone for KernelAlignmentMetric
Source§fn clone(&self) -> KernelAlignmentMetric
fn clone(&self) -> KernelAlignmentMetric
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 KernelAlignmentMetric
impl RefUnwindSafe for KernelAlignmentMetric
impl Send for KernelAlignmentMetric
impl Sync for KernelAlignmentMetric
impl Unpin for KernelAlignmentMetric
impl UnwindSafe for KernelAlignmentMetric
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