International Journal of Computational Intelligence Systems (Oct 2020)

Simpful: A User-Friendly Python Library for Fuzzy Logic

  • Simone Spolaor,
  • Caro Fuchs,
  • Paolo Cazzaniga,
  • Uzay Kaymak,
  • Daniela Besozzi,
  • Marco S. Nobile

DOI
https://doi.org/10.2991/ijcis.d.201012.002
Journal volume & issue
Vol. 13, no. 1

Abstract

Read online

Many researchers have used fuzzy set theory and fuzzy logic in a variety of applications related to computer science and engineering, given the capability of fuzzy inference systems to deal with uncertainty, represent vague concepts, and connect human language to numerical data. In this work we propose Simpful, a general-purpose and user-friendly Python library designed to facilitate the definition, analysis, and interpretation of fuzzy inference systems. Simpful provides a lightweight Application Programming Interface that allows to intuitively define fuzzy sets and fuzzy rules, and to perform fuzzy inference. Worthy of note, in Simpful the fuzzy rules are specified by means of strings of text written in natural language. We provide here some practical examples to show that Simpful represents a valuable addition to the open-source software that supports fuzzy reasoning.

Keywords