LambdaPolicy#
- class superglm.LambdaPolicy(mode: Literal['estimate', 'fixed'], value: float | None = None)#
Bases:
objectPer-penalty-component lambda control for REML.
Two modes: -
estimate: lambda optimised by REML, initialised fromlambda2_init. -fixed(value): lambda held atvaluethroughout fitting.off()is sugar forfixed(0.0)— the penalty component contributes nothing to the penalty matrix.