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 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.
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
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> 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>
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.