Skip to main content

FCMpy: A package for Constructing and Analysing Fuzzy Cognitive Maps in Python.

The fcmpy is Python package for automatically generating causal weights for fuzzy cognitive maps based on qualitative inputs (by using fuzzy logic), optimizing the FCM connection matrix via Machine Learning Algorithms and testing what-if scenarios. The package includes the following submodules:

  • ExpertFcm
  • Simulation
  • Intervention
  • ML

Installation

FCMpy requires python >=3.8.1 and depends on:

  • pandas>=1.0.3
  • numpy>=numpy==1.18.2
  • scikit-fuzzy>=0.4.2
  • tqdm>=4.50.2
  • openpyxl

The latest version can be installed by:

pip install fcmpy

Alternatively, you can install it from source or develop this package, you can fork and clone this repository then install FCMpy by running:

py -m pip install --user --upgrade setuptools wheel
py setup.py sdist bdist_wheel
py -m pip install install e . 

You can run the unittest for the package as follows:

py -m unittest discover unittests

Documentation and tutorials

Tutorial and documentation Learn how to use our library by following available tutorials and documentation!

License

Please read LICENSE.txt in this directory.

Release files for fcmpy 0.0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fcmpy 0.0.21
File Size Uploaded
fcmpy-0.0.21.tar.gz 42.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fcmpy 0.0.21
File Interpreter ABI Platform
fcmpy-0.0.21-py3-none-any.whl Python 3 none any Details

Total release size: 106.0 kB

Release files / fcmpy-0.0.21.tar.gz

Download URL fcmpy-0.0.21.tar.gz
Size 42.9 kB
Tags Source
SHA-256 checksum
How to use checksums
217b5c6bf62f853b5f9f0412b2fd890c6441cf163dd33e5b66967de6068ac31b
BLAKE2b-256 checksum
How to use checksums
ee6240163d9f68278a7040ea710e3ffcf8affa47c510826f43b6fee93b9e0f7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release files / fcmpy-0.0.21-py3-none-any.whl

Download URL fcmpy-0.0.21-py3-none-any.whl
Size 63.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
301689da1ccd6c28968f0af4610d74e07e25e39005273cf9fadbdd2c6d7668aa
BLAKE2b-256 checksum
How to use checksums
1c60b51ac41e8cc9e53092dfaae2639cc7695a2bdd25fb8ddee27bc1ab0ed0e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.0.21 This release

2 release files

0.0.2

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page