fuzzyclust.models.plot_local_models#
- fuzzyclust.models.plot_local_models(model, X, y, ax=None, n_points=300, show_firing=True)[source]#
One-input Takagi–Sugeno model: data, local linear models, model output and firing strengths.
- Parameters:
- model
fittedTakagiSugenoorModifiedGGwithoneinput - Xarray_like
ofshape(n_samples, 1) - yarray_like
ofshape(n_samples,) - ax
matplotlibAxes,optional - show_firingbool, default=True
Draw the normalized firing strengths on a twin axis.
- model
- Returns:
- ax
matplotlibAxes
- ax
Examples using fuzzyclust.models.plot_local_models#
Takagi–Sugeno model of a static nonlinearity: clusters become rules
Takagi–Sugeno model of a static nonlinearity: clusters become rules