pub struct PirlsConfig {
pub likelihood: GlmLikelihoodSpec,
pub link_kind: InverseLink,
pub max_iterations: usize,
pub convergence_tolerance: f64,
pub firth_bias_reduction: bool,
pub initial_lm_lambda: Option<f64>,
pub geodesic_acceleration: bool,
pub arrow_schur: Option<ArrowSchurInnerConfig>,
}Fields§
§likelihood: GlmLikelihoodSpec§link_kind: InverseLink§max_iterations: usize§convergence_tolerance: f64§firth_bias_reduction: bool§initial_lm_lambda: Option<f64>Optional warm-start hint for WorkingModelPirlsOptions::initial_lm_lambda.
Forwarded directly when fit_model_for_fixed_rho builds its
internal options. See the field doc on WorkingModelPirlsOptions
for the seeding semantics.
geodesic_acceleration: boolEnable the Transtrum-Sethna geodesic-acceleration second-order
correction on each accepted LM step. Forwarded to
WorkingModelPirlsOptions::geodesic_acceleration; see that
field’s doc for the full semantics and cost model. Default
false; opt-in until validated.
arrow_schur: Option<ArrowSchurInnerConfig>Optional arrow-Schur structured-inner-solve descriptor. When
Some, forwarded to WorkingModelPirlsOptions::arrow_schur so
each accepted LM step is solved by the per-observation
arrow-Schur path
(crate::arrow_schur::ArrowSchurSystem). When None
(the default), the existing β-only path is used unchanged.
See ArrowSchurInnerConfig for the closure contract.
Implementations§
Source§impl PirlsConfig
impl PirlsConfig
pub fn link_function(&self) -> LinkFunction
Trait Implementations§
Source§impl Clone for PirlsConfig
impl Clone for PirlsConfig
Source§fn clone(&self) -> PirlsConfig
fn clone(&self) -> PirlsConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PirlsConfig
impl !UnwindSafe for PirlsConfig
impl Freeze for PirlsConfig
impl Send for PirlsConfig
impl Sync for PirlsConfig
impl Unpin for PirlsConfig
impl UnsafeUnpin for PirlsConfig
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> 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.