Export#

Rating-table export for a fitted model.

superglm.export_rating_tables

Render the rating-table payload to a workbook and return the path.

When a base level cannot be represented in the requested block shape, export raises superglm.RatingTableBaseNotRepresentableError, documented with the rest of the package’s errors on Warnings and exceptions.

Structure files#

A structure file holds a fitted model’s structural decisions without its coefficients: groupings, references, where new levels go, and polynomial ranges. Structure.apply builds them into another model, ready to fit.

superglm.Structure

The structural decisions of a model's features, without coefficients.

superglm.FeatureStructure

The structural decisions recorded for one feature.

superglm.read_structure

Read a structure file.

A file or call it refuses raises superglm.StructureError, documented with the rest of the package’s errors on Warnings and exceptions.