#[non_exhaustive]pub struct PartialDomainConfig {
pub ncomp: usize,
pub alpha: f64,
pub completion: DomainCompletion,
pub regularization_eps: f64,
}Expand description
Configuration for partial-domain monitoring.
For domain fractions below 0.3, all strategies produce increasingly uncertain estimates. The conditional expectation (BLUP) degrades most gracefully due to its optimal shrinkage properties.
Construct via PartialDomainConfig::default(), then assign the fields you need (e.g. let mut c = PartialDomainConfig::default(); c.field = …;). This struct is #[non_exhaustive], so external crates cannot build it with a struct literal — not even functional-update ..Default::default() form.
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.ncomp: usizeNumber of principal components (default 5).
alpha: f64Significance level (default 0.05).
completion: DomainCompletionDomain completion strategy (default: ConditionalExpectation).
regularization_eps: f64Tikhonov regularization strength for ill-conditioned systems (default 1e-10).
Applied as Tikhonov regularization (diagonal loading) when the M matrix condition number proxy exceeds 1e12. Increase to 1e-6 if you observe numerical warnings or NaN in scores.
Trait Implementations§
Source§impl Clone for PartialDomainConfig
impl Clone for PartialDomainConfig
Source§fn clone(&self) -> PartialDomainConfig
fn clone(&self) -> PartialDomainConfig
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 PartialDomainConfig
impl Debug for PartialDomainConfig
Source§impl Default for PartialDomainConfig
impl Default for PartialDomainConfig
Source§impl PartialEq for PartialDomainConfig
impl PartialEq for PartialDomainConfig
impl StructuralPartialEq for PartialDomainConfig
Auto Trait Implementations§
impl Freeze for PartialDomainConfig
impl RefUnwindSafe for PartialDomainConfig
impl Send for PartialDomainConfig
impl Sync for PartialDomainConfig
impl Unpin for PartialDomainConfig
impl UnsafeUnpin for PartialDomainConfig
impl UnwindSafe for PartialDomainConfig
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.