ObservedModeNotCertifiedError#
- exception superglm.ObservedModeNotCertifiedError(relative_max: float, tolerance: float, *, hint: str = '')#
Bases:
RuntimeErrorThe penalized mode is not accurate enough to differentiate through.
Raised when observed REML geometry needs implicit differentiation and the mode score misses the certification bar. It concerns one
(data, power, lambda)point, not the model, so a caller evaluating many points treats it as an infeasible point. SubclassesRuntimeError.