Pythonic Fuzzy Logic
Clear, expressive fuzzy systems with a clean Python API — no boilerplate, no surprises.
Rust‑Powered Performance
High‑performance inference and rule evaluation implemented in Rust, safely exposed to Python.
Built for Uncertainty
Designed around partial truth, overlapping membership functions, and real‑world ambiguity.
Learn fuzzy logic
Fuzzy logic lets a statement be true to a degree between 0 and 1, rather than only true or false. A fuzzy library turns that idea into systems you can run: variables, rules and an inference engine.
- What is fuzzy logic?
Partial truth, fuzzy sets and how they differ from crisp sets.
- Membership functions
Triangles, trapezoids, gaussians and when to use each shape.
- Mamdani vs Sugeno inference
How a fuzzy inference system turns rules into an answer.
- Interval type-2 fuzzy sets
Modelling uncertainty in the membership functions themselves.
- Fuzzy time series
Forecasting with Chen-style fuzzy logical relationships.
- Tutorial: the tipping problem
Build the classic Mamdani fuzzy controller in Python, step by step.