pub struct AlignmentResult {
pub score: f64,
pub numerator: f64,
pub denominator: f64,
pub n_samples: usize,
}Expand description
Result of a pairwise kernel alignment computation.
Fields§
§score: f64The alignment score, normalised to [-1, 1].
numerator: f64The raw Frobenius inner product <K1, K2>_F (or <K1_c, K2_c>_F).
denominator: f64sqrt(||K1||_F^2 * ||K2||_F^2).
n_samples: usizeNumber of samples n.
Trait Implementations§
Source§impl Clone for AlignmentResult
impl Clone for AlignmentResult
Source§fn clone(&self) -> AlignmentResult
fn clone(&self) -> AlignmentResult
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 AlignmentResult
impl RefUnwindSafe for AlignmentResult
impl Send for AlignmentResult
impl Sync for AlignmentResult
impl Unpin for AlignmentResult
impl UnsafeUnpin for AlignmentResult
impl UnwindSafe for AlignmentResult
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