Warnings and exceptions#

Everything superglm raises or warns with that a caller may want to catch or silence. Each docstring says when it fires and what to do about it.

superglm.PublicationModeError

The publication refit could not certify a penalized coefficient mode.

superglm.NearPoissonDispersionError

The Tweedie dispersion profile is too close to the Poisson limit to search globally.

superglm.NoPredictedMeanError

A score was asked of weighted rows that have no predicted mean.

superglm.RatingTableBaseNotRepresentableError

The exported base relativity is not a usable multiplier.

superglm.ConvergenceWarning

A fit stopped before its convergence test passed.

superglm.StructureError

A structure file, or a step that reads, writes or applies one, refused.

superglm.SeparationError

Refusal to fit (or certify) a design containing separated cells.

superglm.SeparationWarning

A term contains cells whose maximum-likelihood estimate is infinite.

superglm.SlowFitWarning

An exact REML fit is large enough to be slow: most of a minute or more.

superglm.WeakIdentificationWarning

Some coefficients carry information only at the noise level of the data.

superglm.NonEstimablePredictionWarning

Some predicted rows lean on directions the training data and the penalty do not determine.

superglm.StructuredSolverError

The structured solver cannot proceed with this fit.

superglm.ObservedModeNotCertifiedError

The penalized mode is not accurate enough to differentiate through.

superglm.ObservedModeNotConvergedError

No mode score exists here, as opposed to one that missed the bar.

superglm.NBThetaBoundWarning

The NB2 theta estimate sits on an active search bound.

superglm.FractionalFrequencyWeightWarning

A replication count that is not a whole number of observations.

superglm.PriorWeightLatticeWarning

A counting response or binomial weight lacks an exact probability law.

superglm.FactorSmoothGroupTermWarning

A term on a factor smooth's group repeats the level intercepts the factor smooth carries.

superglm.InteractionCellLabelWarning

Two cells of a categorical interaction share a "level1:level2" label.

superglm.RedundantInteractionWarning

Two interactions of one class over the same two columns span one column space.

superglm.SplineOptionWarning

A spline option outside its accepted values, built as it always was.

superglm.SCOPRetiredWarning

A shape constraint declared or saved on the retired SCOP engine, fitted on the QP.