sklearn_pmml_model.datatypes#
Classes#
Module Contents#
- class sklearn_pmml_model.datatypes.Interval(closure, left_margin=None, right_margin=None)#
Class describing the interval (or range) of a numerical feature.
- Parameters:
- closurestring
String defining the closure of the interval, can be ‘openClosed’, ‘openOpen’, ‘closedOpen’ or ‘closedClosed’.
- categorieslist
List of all categories for a particular feature.
- orderedbool
Boolean indicating whether the categories are ordinal (sorting categories makes sense) or not.
- closure#
- leftMargin#
- rightMargin#
- __contains__(value)#
- class sklearn_pmml_model.datatypes.Category(base_type, categories, ordered=False)#
Class describing a categorical data type.
- Parameters:
- base_typecallable
The original native data type of the category. For example, str, int or float.
- categorieslist
List of all categories for a particular feature.
- orderedbool
Boolean indicating whether the categories are ordinal (sorting categories makes sense) or not.
- base_type#
- categories#
- ordered = False#
- __eq__(other)#
- __contains__(item)#
- __call__(value)#