#[non_exhaustive]pub struct BoostFofrResult {
pub intercept: Vec<f64>,
pub fitted: FdMatrix,
pub residuals: FdMatrix,
pub r_squared_t: Vec<f64>,
pub r_squared: f64,
pub fpca_x: Vec<FpcaResult>,
pub score_coefs: Vec<FdMatrix>,
pub beta_surfaces: Vec<FdMatrix>,
pub selected_learners: Vec<usize>,
pub gcv_path: Vec<f64>,
pub mstop: usize,
pub nu: f64,
}Expand description
Result of component-wise boosted function-on-function regression (REG-06-02).
Functional predictors are compressed via FPCA score projection; the boosting core operates on the resulting scalar design matrices (bfpc variant).
Divergence from FDboost: uses FPC score compression (fdata_to_pc_1d) rather
than FDboost’s bsignal B-spline joint expansion. Simpler and dependency-free.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.intercept: Vec<f64>Intercept function F₀(t) = Ȳ(t) (length m_y).
fitted: FdMatrixFitted response curves (n × m_y).
residuals: FdMatrixResidual curves (n × m_y).
r_squared_t: Vec<f64>Pointwise R²(t) at each response grid point (length m_y).
r_squared: f64Overall R².
fpca_x: Vec<FpcaResult>FPCA result for each functional predictor (one per predictor).
score_coefs: Vec<FdMatrix>Accumulated FPC-space score coefficients per predictor (Vec[j] is K_j × m_y).
beta_surfaces: Vec<FdMatrix>Reconstructed coefficient surfaces β_j(s,t) per predictor (Vec[j] is m_x × m_y).
selected_learners: Vec<usize>Index j* of the base-learner selected at each boosting iteration (length mstop).
gcv_path: Vec<f64>‖residual‖_F² per boosting iteration (length mstop).
mstop: usizeNumber of boosting iterations used.
nu: f64Learning rate ν used.
Trait Implementations§
Source§impl Clone for BoostFofrResult
impl Clone for BoostFofrResult
Source§fn clone(&self) -> BoostFofrResult
fn clone(&self) -> BoostFofrResult
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 BoostFofrResult
impl Debug for BoostFofrResult
Source§impl PartialEq for BoostFofrResult
impl PartialEq for BoostFofrResult
impl StructuralPartialEq for BoostFofrResult
Auto Trait Implementations§
impl Freeze for BoostFofrResult
impl RefUnwindSafe for BoostFofrResult
impl Send for BoostFofrResult
impl Sync for BoostFofrResult
impl Unpin for BoostFofrResult
impl UnsafeUnpin for BoostFofrResult
impl UnwindSafe for BoostFofrResult
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.