fuzzyclust.models.plot_fuzzy_partition#

fuzzyclust.models.plot_fuzzy_partition(discretizer, feature, X=None, y=None, ax=None, feature_name=None, n_points=300)[source]#

Fuzzy sets of one feature of a fitted FuzzyPartitionDiscretizer.

If X and y are given, the class-conditional data are drawn as a rug below the sets so that the alignment of the cut points with the class structure can be judged.

Returns:
axmatplotlib Axes

Examples using fuzzyclust.models.plot_fuzzy_partition#

Supervised fuzzy partitions as a priori discretization for decision trees

Supervised fuzzy partitions as a priori discretization for decision trees