FCMpy: a python module for constructing and analyzing fuzzy cognitive maps

S. Mkhitaryan*, P. Giabbanelli, M.K. Wozniak, G. Napoles, N. De Vries, R. Crutzen

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

Abstract

FCMpy is an open-source Python module for building and analyzing Fuzzy Cognitive Maps (FCMs). The module provides tools for end-to-end projects involving FCMs. It is able to derive fuzzy causal weights from qualitative data or simulating the system behavior. Additionally, it includes machine learning algorithms (e.g., Nonlinear Hebbian Learning, Active Hebbian Learning, Genetic Algorithms, and Deterministic Learning) to adjust the FCM causal weight matrix and to solve classification problems. Finally, users can easily implement scenario analysis by simulating hypothetical interventions (i.e., analyzing what-if scenarios). FCMpy is the first open-source module that contains all the functionalities necessary for FCM oriented projects. This work aims to enable researchers from different areas, such as psychology, cognitive science, or engineering, to easily and efficiently develop and test their FCM models without the need for extensive programming knowledge.
Original languageEnglish
Article number1078
Number of pages30
JournalPeerJ Computer Science
Volume8
DOIs
Publication statusPublished - 23 Sept 2022

Keywords

  • Active Hebbian learning
  • FCM
  • Genetic algorithm
  • Nonlinear Hebbian learning
  • Python
  • ALGORITHM

Cite this