Skip to content

Draft for review. Send feedback

FLAIR

Tools

Learn fuzzy logic, then build with it.

A short path for newcomers, the papers that started it all, and the toolkits researchers actually use.

Fuzzy logic is easier to start than it sounds. Begin with one example and one toolkit.

Learn fuzzy

  1. 1

    Get the idea

    Play with the demo on our home page. A fuzzy set says how much something belongs, from 0 to 1.

  2. 2

    Build one system

    Follow the classic tipping example in scikit-fuzzy. It takes about an hour.

  3. 3

    Read the classics

    Three short papers shaped the whole field. They are below.

  4. 4

    Make it yours

    Pick a toolkit below and model something from your own work.

Toolkits

Free and open source unless noted.

  • scikit-fuzzy

    Python
    Best for
    Learning fuzzy logic and building Mamdani systems in Python, with membership function plots.
    Use it when
    You know Python and want to prototype a controller or follow a textbook example.

    Install

    pip install scikit-fuzzy
    Documentation ↗
  • Simpful

    Python
    Best for
    Writing fuzzy rules as readable text and running Mamdani or Takagi-Sugeno inference.
    Use it when
    You want rules a non-programmer can read, or you need Sugeno-style outputs.

    Install

    pip install simpful
    Documentation ↗
  • pyFUME

    Python
    Best for
    Learning fuzzy models automatically from a dataset.
    Use it when
    You have tabular data and want an interpretable Takagi-Sugeno model built from it.

    Install

    pip install pyfume
    Documentation ↗
  • FuzzyLite logo

    FuzzyLite

    C++, Java, Python
    Best for
    Fast fuzzy controllers in C++, Java or Python.
    Use it when
    You need to ship a controller inside an application or device.

    Install

    pip install pyfuzzylite
    Documentation ↗
  • Fuzzy Logic Toolbox logo

    Fuzzy Logic Toolbox

    MATLAB
    Best for
    Designing, tuning and simulating fuzzy systems with apps and Simulink blocks.
    Use it when
    Your course or lab already uses MATLAB. Requires a MATLAB license.

    Install

    MATLAB Add-Ons > Fuzzy Logic Toolbox
    Documentation ↗
NextProjectsOpen projects from FLAIR members and the wider fuzzy community. Code on GitHub, models on Hugging Face.