PatsyFormula#
- class chainladder.PatsyFormula(formula=None)[source]#
A sklearn-style Transformer for patsy formulas.
PatsyFormula allows for R-style formula preprocessing of the
design_matrixof a machine learning algorithm. It’s particularly useful with the DevelopmentML and TweedieGLM estimators.- Parameters:
- formula: str
A string representation of the regression model X features.
- Attributes:
- design_info_:
The patsy instructions for generating the design_matrix, X.
Inherited Methods
|
Fit to data, then transform it. |
|
Get metadata routing of this object. |
|
Get parameters for this estimator. |
|
Set output container. |
|
Set the parameters of this estimator. |