Skip to main content

Fuzzy math library

Project description

FuzzyOps

Library of algorithms for fuzzy forecasting and decision support

The library is intended for use:

  • in scientific laboratories engaged in research in the field of multi-criteria analysis, optimal planning and management;
  • in companies engaged in the development of decision support systems. In fact, the library should be used in the creation of both full-featured software products and experimental mock-ups of software systems designed to work with fuzzy factors.

The library can also be used by directly calling functions in C++ programs, following the instructions:

How to install the library

To install the library as a pip package, use the command: pip install git+https://{login}:{token}@github.com/Kotya2001/FuzzyOps.git by substituting the appropriate values:

  • login: your login on GitHub
  • token: how to create a token - here

Or

  • pip install fuzzyops

Before installation

Create a virtual environment with Python >= 3.10

Full path to the Python 3.10 executable file -m venv env

Activating the environment

  • Macos: source env/bin/activate
  • Windows: .\env\Scripts\activate
  • Linux: source env/bin/activate

Installing the Cuda Toolkit 11.5

Install PyTorch depending on your operating system

  • Windows: pip3 install torch --index-url https://download.pytorch.org/whl/cu117
  • Macos: pip3 install torch
  • Linux: pip3 install torch

Minimum technical requirements

  • RAM capacity of at least 2 GB;
  • For CUDA calculations, an Nvidia GeForce RTX 3060 or higher graphics output device
  • Installed Python version 3.10 or higher

Instructions for using the library and documentation for the library's source code:

Running tests

After installation, the tests are run according to the instructions.:

Instructions for using the library in C++ programs

Source files structure

  • cpp - Instructions for using the library in C++ programs and examples of using the library in Python and C++;
  • example:
    • common - Examples of using the library code;
    • The remaining files are practical examples of using the library code;
  • src - Library source codes:
    • docs - Files, format .html with documentation for the source code (compiled using the library sphinx);
    • fuzzyops - Library source codes:
      • fan - Source codes of fuzzy analytical networks;
      • fuzzy_logic Source codes of fuzzy logic algorithms;
      • fuzzy_msa - Source codes of classical multicriteria analysis algorithms with fuzzy variables;
      • fuzzy_nn - Source codes of algorithms for fuzzy neural networks (ANFIS Network);
      • fuzzy_numbers - Source codes for implementing fuzzy numbers (fuzzification, defuzzification, fuzzy arithmetic);
      • fuzzygraphs - Source codes for the implementation of fuzzy graphs;
      • fuzzygraphs_algs - Source codes of algorithms on fuzzy graphs (Fuzzy dominance relations, fuzzy factor models, fuzzy transport graphs);
      • fuzzy_pred - Source codes of fuzzy prediction algorithms;
      • sequencing_assignment - The source codes of algorithms on fuzzy graphs of the sequence of work in assignment tasks;
      • tests - Algorithm Test Codes.
  • readthedocs - A file for automatic assembly and placement of documentation on https://about.readthedocs.com;
  • doc_reqs.txt - A library dependency file for building documentation https://about.readthedocs.com;
  • requirements - The dependency file for installing the library;
  • setup.cfg - Configuration file for building the library distribution;
  • setup.py - A file for building a library distribution using setuptools;
  • LICENSE - Library license file;

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

fuzzyops-1.0.15.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fuzzyops-1.0.15-py3-none-any.whl (67.3 kB view details)

Uploaded Python 3

File details

Details for the file fuzzyops-1.0.15.tar.gz.

File metadata

  • Download URL: fuzzyops-1.0.15.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for fuzzyops-1.0.15.tar.gz
Algorithm Hash digest
SHA256 78a69548580d206d355f3b271901f9a660cadb412a53dd4956c47ca5f6a430e3
MD5 6ad1d5c74412dfd8a5ebf16396eee6f6
BLAKE2b-256 e0331c1159e10ef44fb8238d91971ce3c66ba81708f2f91be3b49c11a3617e4e

See more details on using hashes here.

File details

Details for the file fuzzyops-1.0.15-py3-none-any.whl.

File metadata

  • Download URL: fuzzyops-1.0.15-py3-none-any.whl
  • Upload date:
  • Size: 67.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for fuzzyops-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 d47a2b5b8b355807dee3aefa6f244e767a105b53241b8066d38533849e7d5bbd
MD5 392f03bf5a82413c208d15208de292b7
BLAKE2b-256 8723e81d4ddb1bfc63d34da8d0c1ec4b5aaf45a5af7be3e272d20e44dc60a667

See more details on using hashes here.

Supported by

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