DevelopmentConstant#
- class chainladder.DevelopmentConstant(patterns=None, style='ldf', callable_axis=0, groupby=None)[source]#
- A Estimator that allows for including of external patterns into a
Development style model. When this estimator is fit against a triangle, only the grain of the existing triangle is retained.
- Parameters:
- patterns: dict or callable
A dictionary key:value representation of age(in months):value. If callable is supplied, callable must return a dict for each element of the callable axis
- style: string, optional (default=’ldf’)
Type of pattern given to the Estimator. Options include ‘cdf’ or ‘ldf’.
- callable_axis: 0 or 1
If a callable is supplied, the axis, index (0) or column (1) along which to apply the callable. If patterns is not a callable, then this parameter is ignored.
- groupby:
option to group levels of the triangle index together for the purposes estimating patterns. If omitted, each level of the triangle index will receive its own patterns.
- Attributes:
- ldf_: Triangle
The estimated loss development patterns
- cdf_: Triangle
The estimated cumulative development patterns
Inherited Methods
|
Fit to data, then transform it. |
|
Get metadata routing of this object. |
|
Get parameters for this estimator. |
|
|
|
Converts triangle array_backend. |
|
Set output container. |
|
Set the parameters of this estimator. |
|
Serializes triangle object to json format |
|
Serializes triangle object to pickle. |