Skip to main content

Fuzzy Cognitive Maps for Behavior Change Interventions and Evaluation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fcmpy-0.0.21.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

fcmpy-0.0.21-py3-none-any.whl (63.1 kB view details)

Uploaded Python 3

File details

Details for the file fcmpy-0.0.21.tar.gz.

File metadata

  • Download URL: fcmpy-0.0.21.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for fcmpy-0.0.21.tar.gz
Algorithm Hash digest
SHA256 217b5c6bf62f853b5f9f0412b2fd890c6441cf163dd33e5b66967de6068ac31b
MD5 8badedc1c66c4e419a1eaa0656afd709
BLAKE2b-256 ee6240163d9f68278a7040ea710e3ffcf8affa47c510826f43b6fee93b9e0f7b

See more details on using hashes here.

File details

Details for the file fcmpy-0.0.21-py3-none-any.whl.

File metadata

  • Download URL: fcmpy-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 63.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for fcmpy-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 301689da1ccd6c28968f0af4610d74e07e25e39005273cf9fadbdd2c6d7668aa
MD5 4062bfddc0ec2cf164cd661cfd9d1308
BLAKE2b-256 1c60b51ac41e8cc9e53092dfaae2639cc7695a2bdd25fb8ddee27bc1ab0ed0e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page