mydatapreprocessing.preprocessing.preprocessing_config.subconfigurations package

Subconfigs subpackage.

class mydatapreprocessing.preprocessing.preprocessing_config.subconfigurations.Discretization(frozen=None, *a, **kw)[source]

Bases: mypythontools.config.config_internal.Config

Define whether to discretize values.

binning_type

Define how the bins will be defined.

Type

Literal[‘cut’, ‘qcut’]

Default

‘cut’

‘cut’ for equal size of bins intervals (different number of members in bins) or ‘qcut’ for equal number of members in bins and various size of bins. It uses pandas ‘cut’ or ‘qcut’ function

discretize

Define whether discretize values into defined number of bins (their average).

Type

None | int

Default

None