AgeBin#
- class dynode.config.bins.AgeBin(min_value, max_value, name=None)#
Bases:
DiscretizedPositiveIntBin
Age bin with inclusive mix and max age values, fills in name of bin for you.
- __init__(min_value, max_value, name=None)#
Initialize a Discretized bin with inclusive min/max and sensible default name.
Parameters#
- min_valueint
minimum value contained by the bin (inclusive)
- max_valueint
maximum value contained by the bin (inclusive)
- namestr, optional
name of the bin, by default f”A{min_value}_{max_value}” if None
Methods
__init__
(min_value, max_value[, name])Initialize a Discretized bin with inclusive min/max and sensible default name.
Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
min_value
max_value
name
- _abc_impl = <_abc._abc_data object>#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].