FeatureReference#
- class scikitplot.feature_selection.FeatureReference(name, kind, method, cuts=(), categories=(), proportions=(), truncated=False, n_reference=0, note='', family='')[source]#
Frozen reference buckets of one feature.
- Parameters:
- namestr
Column name.
- kindstr
Feature kind at fit time.
- method{“numeric”, “categorical”, “skipped”}
Bucketing method.
- cutstuple of float
Interior cut points (numeric).
- categoriestuple of str
Kept category keys (categorical).
- proportionstuple of float
Training proportion of each bucket; the last bucket is “missing”, and for categorical features the one before it is “other”.
- truncatedbool
More training categories existed than were kept.
- n_referenceint
Training rows.
- notestr
Why a feature is skipped.
- familystr
Dtype family of the training column; later data of another family is reported as
type_changed(integer and float are one numeric family, string and categorical one text family).
- Parameters: