LinBasis#
- class liesel_gam.LinBasis(value, basis_fn=<function Basis.<lambda>>, name=None, xname=None, use_callback=True, cache_basis=True, penalty='identity', **basis_kwargs)[source]#
Bases:
BasisDedicated basis object for linear effects.
See
Basisfor general usage information. This class additionally offersmodel_spec: The model spec used internally byformulaicto set up the basis matrix.mappings: A dictionary of label-integer mappings for all categorical variables in this basis.column_names: List of column names for this basis.
Attributes
A dictionary of label-integer mappings for all categorical variables in this basis.
The model spec used internally by
formulaicto set up the basis matrix.