pub struct TransformationNormalConfig {
pub response_degree: usize,
pub response_num_internal_knots: usize,
pub response_penalty_order: usize,
pub response_extra_penalty_orders: Vec<usize>,
pub double_penalty: bool,
pub response_num_internal_knots_pinned: bool,
}Fields§
§response_degree: usizeB-spline degree for the response-direction deviation basis (default 3).
response_num_internal_knots: usizeNumber of interior knots for the response-direction deviation basis (default 10).
response_penalty_order: usizeDifference penalty order for the response-direction roughness penalty (default 2).
response_extra_penalty_orders: Vec<usize>Additional penalty orders for the response-direction (default [1]).
double_penalty: boolWhether to add a global identity (ridge) penalty (default true).
response_num_internal_knots_pinned: boolWhen true, response_num_internal_knots is treated as an already-resolved
effective value: fit_transformation_normal uses it verbatim instead of
re-running effective_response_num_internal_knots. This is required by the
cross-fit Stage-1 calibration, which pins the knot count once at the
smallest fold complement so p_resp (and hence p₁ = p_resp · p_cov)
is fold-invariant; the data-driven complexity cap would otherwise round
to different counts on each fold’s response subsample (workflow.rs §3).
Trait Implementations§
Source§impl Clone for TransformationNormalConfig
impl Clone for TransformationNormalConfig
Source§fn clone(&self) -> TransformationNormalConfig
fn clone(&self) -> TransformationNormalConfig
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 TransformationNormalConfig
impl Debug for TransformationNormalConfig
Auto Trait Implementations§
impl Freeze for TransformationNormalConfig
impl RefUnwindSafe for TransformationNormalConfig
impl Send for TransformationNormalConfig
impl Sync for TransformationNormalConfig
impl Unpin for TransformationNormalConfig
impl UnsafeUnpin for TransformationNormalConfig
impl UnwindSafe for TransformationNormalConfig
Blanket Implementations§
impl<T> Allocation for T
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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,
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.