#[non_exhaustive]pub enum NonConformityScore {
SupNorm,
L2,
AmplitudeElastic,
PhaseElastic,
CombinedElastic,
}Expand description
Non-conformity score for conformal prediction.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SupNorm
Supremum norm: max_t |y(t) - center(t)|
L2
L2 norm: sqrt(sum (y(t) - center(t))^2)
AmplitudeElastic
Amplitude elastic distance to a reference template (Fisher-Rao metric).
Measures the L2 distance between the SRSFs after optimal elastic alignment,
capturing shape differences due to amplitude (vertical) variation.
Requires a reference template; not supported by conformal_prediction_band.
PhaseElastic
Phase elastic distance to a reference template.
Measures the geodesic distance of the optimal warping function from the
identity warp on the Hilbert sphere, capturing timing (horizontal) variation.
Requires a reference template; not supported by conformal_prediction_band.
CombinedElastic
Combined elastic distance to a reference template.
A genuine combination of amplitude and phase distances:
sqrt(amplitude² + phase²), capturing both vertical and horizontal
shape variation. Requires a reference template; not supported by
conformal_prediction_band.
Trait Implementations§
Source§impl Clone for NonConformityScore
impl Clone for NonConformityScore
Source§fn clone(&self) -> NonConformityScore
fn clone(&self) -> NonConformityScore
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for NonConformityScore
Source§impl Debug for NonConformityScore
impl Debug for NonConformityScore
impl Eq for NonConformityScore
Source§impl PartialEq for NonConformityScore
impl PartialEq for NonConformityScore
impl StructuralPartialEq for NonConformityScore
Auto Trait Implementations§
impl Freeze for NonConformityScore
impl RefUnwindSafe for NonConformityScore
impl Send for NonConformityScore
impl Sync for NonConformityScore
impl Unpin for NonConformityScore
impl UnsafeUnpin for NonConformityScore
impl UnwindSafe for NonConformityScore
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar 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.