fuzzyclust.models.plot_membership_functions#

fuzzyclust.models.plot_membership_functions(model, X=None, feature_names=None, axes=None, n_points=300, ranges=None)[source]#

Gaussian antecedent membership functions \(A_{ij}(x_j)\) of every rule, one panel per input.

Parameters:
modelfitted TakagiSugeno, ModifiedGG or SupervisedFuzzyClassifier
Xarray_like of shape (n_samples, n_features), optional

Data used to set the plotting range of every feature (otherwise centers \(\pm 3\sigma\)), and drawn as a rug.

feature_namessequence of str, optional
axesarray of matplotlib Axes, optional

One axis per antecedent feature.

n_pointsint, default=300
rangessequence of (lo, hi), optional

Explicit plotting ranges per antecedent feature.

Returns:
axesndarray of matplotlib Axes

Examples using fuzzyclust.models.plot_membership_functions#

Takagi–Sugeno model of a static nonlinearity: clusters become rules

Takagi–Sugeno model of a static nonlinearity: clusters become rules

Identification of a nonlinear dynamic system with free-run validation

Identification of a nonlinear dynamic system with free-run validation

MIMO Takagi–Sugeno model with local MIMO ARX consequents

MIMO Takagi–Sugeno model with local MIMO ARX consequents

Supervised fuzzy clustering: classifier rules that carry class probabilities

Supervised fuzzy clustering: classifier rules that carry class probabilities