Skip to content

Examples

Twenty-four runnable scripts live in the repository's examples/ folder. Each page here shows the script, runs it when the site is built, and points to the guide and API pages behind it. All of them are also run by the test suite.

# Example Needs
01 Fuzzy numbers core
02 Linguistic scales and expert aggregation core
03 Buckley fuzzy AHP core
04 SWARA weights and TOPSIS core
05 Intuitionistic pipeline core
06 Zimmermann fuzzy goals with LumiX lumix
07 Best-worst method with LumiX lumix
08 Fuzzy BWM with sezgi sezgi
09 MCDM scores as LumiX data lumix
10 Mamdani tipper core
11 Sugeno controller core
12 Tuning a Sugeno system with sezgi sezgi
13 Tsukamoto core
14 Interval type-2 versus type-1 under noise core
15 ANFIS on the sinc surface core
16 ANFIS trained with sezgi sezgi
17 Plotting with bulanik.plot plot
18 Interval-valued AHP and CODAS core
19 Interval type-2 AHP and MARCOS core
20 Ranking methods compared core
21 Objective and subjective weights core
22 Fuzzy DEMATEL core
23 Interval-valued AHP compared core
24 Ranking on fuzzy numbers core

Examples marked lumix, sezgi or plot need that extra; the documentation build has them installed.

To run one yourself from a checkout:

uv sync
uv run python examples/10_mamdani_tipper.py