Need help with scikit-fuzzy?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

577 Stars 227 Forks Other 424 Commits 46 Opened issues


Fuzzy Logic SciKit (Toolkit for SciPy)

Services available


Need anything else?

Contributors list


is a fuzzy logic toolkit for SciPy.

The goals of scikit-fuzzy are: * To provide the community with a robust toolkit of independently developed and implemented fuzzy logic algorithms * To increase the attractiveness of scientific Python as a valid alternative to closed-source options.

Please cite DOI if you find scikit-fuzzy useful. A formal paper describing this package is in preparation.



The documentation of the library can be found here:

Online Discussion & Mailing List

Please join the discussion in our public chat room on Gitter

or view/post on the Google Groups mailing list


Scikit-Fuzzy depends on

  • NumPy >= 1.6
  • SciPy >= 0.9
  • NetworkX >= 1.9

and is available on PyPi! The latest stable release can always be obtained and installed simply by running

$ pip install -U scikit-fuzzy

which will also work to upgrade existing installations to the latest release.

If you prefer to install from source or develop this package, you can fork and clone this repository then install SciKit-Fuzzy by running

$ python install

or develop locally by running

$ python develop

If you prefer, you can use SciKit-Fuzzy without installing by simply exporting this path to your PYTHONPATH variable.


Please read LICENSE.txt in this directory.

IEEE Rounding for Matlab users

It should be noted that Matlab rounds incorrectly. The IEEE standard (which is how this package behaves) requires rounding to the nearest EVEN number if exactly between, e.g. 1.5 --> 2; 2.5 --> 2; 3.5 --> 4; 4.5 --> 4, etc. This minimizes systematic rounding error. Thus, if re-implementing algorithms from Matlab code, slight inconsistencies in rounded results are expected. These are not bugs, and will not be fixed.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.