pub struct PaceFpcaConfig {
pub ncomp: usize,
pub bandwidth: f64,
pub sigma2: f64,
pub work_grid: Vec<f64>,
pub alpha: f64,
}Expand description
Configuration for PACE sparse FPCA.
No #[non_exhaustive] — follows the crate::elastic_regression::ElasticPcrConfig
convention for config structs (allows struct-literal construction in tests).
Fields§
§ncomp: usizeNumber of FPCA components to extract.
bandwidth: f64Kernel bandwidth for mean and covariance smoothing (must be strictly positive).
sigma2: f64Caller-supplied measurement-error variance σ² (must be strictly positive).
σ² > 0 is required so that Σ_yi = Φ_i diag(λ) Φ_i^T + σ²I_{n_i} remains positive-definite regardless of the number of observed points per curve. Automatic σ² estimation from the raw-vs-smoothed diagonal is deferred.
work_grid: Vec<f64>Work grid: the evaluation points at which mean, eigenfunctions, and fitted trajectories are represented. Must have at least 2 points and be sorted.
alpha: f64Confidence level for bands (must be in the open interval (0, 1)). Default 0.05 → 95% pointwise bands.
Trait Implementations§
Source§impl Clone for PaceFpcaConfig
impl Clone for PaceFpcaConfig
Source§fn clone(&self) -> PaceFpcaConfig
fn clone(&self) -> PaceFpcaConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PaceFpcaConfig
impl Debug for PaceFpcaConfig
Source§impl Default for PaceFpcaConfig
impl Default for PaceFpcaConfig
Source§impl PartialEq for PaceFpcaConfig
impl PartialEq for PaceFpcaConfig
impl StructuralPartialEq for PaceFpcaConfig
Auto Trait Implementations§
impl Freeze for PaceFpcaConfig
impl RefUnwindSafe for PaceFpcaConfig
impl Send for PaceFpcaConfig
impl Sync for PaceFpcaConfig
impl Unpin for PaceFpcaConfig
impl UnsafeUnpin for PaceFpcaConfig
impl UnwindSafe for PaceFpcaConfig
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.