pub struct SurvivalLocationScaleInputs<'a> {Show 23 fields
pub formula: String,
pub data_schema: DataSchema,
pub fit_result: UnifiedFitResult,
pub fitted_inverse_link: InverseLink,
pub linkwiggle_degree: Option<usize>,
pub linkwiggle_knots: Option<Vec<f64>>,
pub beta_link_wiggle: Option<Vec<f64>>,
pub baseline_timewiggle: Option<SurvivalTimewiggle>,
pub survival_entry: Option<String>,
pub survival_exit: String,
pub survival_event: String,
pub survivalspec: String,
pub baseline_cfg: SurvivalBaselineConfig,
pub time_basis: SavedSurvivalTimeBasis,
pub ridge_lambda: f64,
pub survival_likelihood_label: String,
pub formula_noise: Option<String>,
pub survival_beta_time: Vec<f64>,
pub survival_beta_threshold: Vec<f64>,
pub survival_beta_log_sigma: Vec<f64>,
pub noise_transform: &'a ScaleDeviationTransform,
pub resolved_thresholdspec: TermCollectionSpec,
pub resolved_log_sigmaspec: TermCollectionSpec,
}Expand description
Source-agnostic semantic content of a survival location-scale
(Royston-Parmar with a learned residual link) saved model. Centralizing
fixes the drift where CLI and FFI disagreed on formula_noise,
baseline_timewiggle_*, and survival_noise_projection_ridge_alpha.
Fields§
§formula: String§data_schema: DataSchema§fit_result: UnifiedFitResultFit result with the fitted inverse-link state and link-wiggle artifacts already applied by the caller.
fitted_inverse_link: InverseLink§linkwiggle_degree: Option<usize>§linkwiggle_knots: Option<Vec<f64>>§beta_link_wiggle: Option<Vec<f64>>§baseline_timewiggle: Option<SurvivalTimewiggle>§survival_entry: Option<String>§survival_exit: String§survival_event: String§survivalspec: String§baseline_cfg: SurvivalBaselineConfig§time_basis: SavedSurvivalTimeBasis§ridge_lambda: f64§survival_likelihood_label: String§formula_noise: Option<String>§survival_beta_time: Vec<f64>§survival_beta_threshold: Vec<f64>§survival_beta_log_sigma: Vec<f64>§noise_transform: &'a ScaleDeviationTransform§resolved_thresholdspec: TermCollectionSpec§resolved_log_sigmaspec: TermCollectionSpecAuto Trait Implementations§
impl<'a> !RefUnwindSafe for SurvivalLocationScaleInputs<'a>
impl<'a> !UnwindSafe for SurvivalLocationScaleInputs<'a>
impl<'a> Freeze for SurvivalLocationScaleInputs<'a>
impl<'a> Send for SurvivalLocationScaleInputs<'a>
impl<'a> Sync for SurvivalLocationScaleInputs<'a>
impl<'a> Unpin for SurvivalLocationScaleInputs<'a>
impl<'a> UnsafeUnpin for SurvivalLocationScaleInputs<'a>
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
Converts
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>
Converts
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.