pub struct StandardFitOptionsInputs {
pub latent_cloglog: Option<LatentCLogLogState>,
pub mixture_link: Option<MixtureLinkSpec>,
pub optimize_mixture: bool,
pub sas_link: Option<SasLinkSpec>,
pub optimize_sas: bool,
pub linear_constraints: Option<LinearInequalityConstraints>,
pub firth_bias_reduction: bool,
pub adaptive_regularization: Option<AdaptiveRegularizationOptions>,
pub penalty_shrinkage_floor_override: Option<Option<f64>>,
pub persist_warm_start_disk: bool,
}Expand description
Request-specific inputs to the canonical standard-fit FitOptions.
Everything in here varies per call (the link state extracted from the
formula/config, the linear constraints synthesized from bounded() /
shape-constrained terms, the Firth / adaptive-regularization toggles read
off the FitConfig). Every policy field of FitOptions — the ones that
decide HOW the outer REML optimization behaves (compute_inference,
skip_rho_posterior_inference, tol, the max_iter default, the penalty
shrinkage floor) — is filled in by canonical_standard_fit_options and is
NOT settable here, so the CLI binary and the Python/PyO3 path cannot resolve
a different optimization policy for the same model (#1196). Before this seam
existed the CLI hand-built FitOptions with tol: 1e-6 /
skip_rho_posterior_inference: false while the formula path used
tol: 1e-10 / skip_rho_posterior_inference: true, so the identical model
fit differently depending on which entry point you called it from — the
exact class of divergence #1191 surfaced.
Fields§
§latent_cloglog: Option<LatentCLogLogState>§mixture_link: Option<MixtureLinkSpec>§optimize_mixture: bool§sas_link: Option<SasLinkSpec>§optimize_sas: bool§linear_constraints: Option<LinearInequalityConstraints>§firth_bias_reduction: bool§adaptive_regularization: Option<AdaptiveRegularizationOptions>§penalty_shrinkage_floor_override: Option<Option<f64>>Some only when a caller (the forced-Firth CLI branch) overrides the
canonical default. None keeps the single-source default Some(1e-6).
persist_warm_start_disk: boolTrait Implementations§
Source§impl Default for StandardFitOptionsInputs
impl Default for StandardFitOptionsInputs
Source§fn default() -> StandardFitOptionsInputs
fn default() -> StandardFitOptionsInputs
Auto Trait Implementations§
impl Freeze for StandardFitOptionsInputs
impl RefUnwindSafe for StandardFitOptionsInputs
impl Send for StandardFitOptionsInputs
impl Sync for StandardFitOptionsInputs
impl Unpin for StandardFitOptionsInputs
impl UnsafeUnpin for StandardFitOptionsInputs
impl UnwindSafe for StandardFitOptionsInputs
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> 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.