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:

It is also possible to implement a RESTful API in your software (the web service is deployed on your own resources), following these 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

A web service for accessing the library's algorithms using the RESTful API:

Description of folders with library repository files

  • 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.16.tar.gz (61.1 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.16-py3-none-any.whl (79.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fuzzyops-1.0.16.tar.gz
Algorithm Hash digest
SHA256 061291024845016f4a07d3f29a5a9fcb03e2719f27db41b98153a072fa25f47f
MD5 da31e9e38eea72402c271e131ae9f454
BLAKE2b-256 edd683d0d1fe039d34a0691325014f19ec4092dd490e99501aeead3a79b96d5d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fuzzyops-1.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a769566e87178a89d9aae79e356ca4f0fe0c978faa24a2a30007205dfb503387
MD5 56ec6c5f31162e2a6d21c0164bc0f8b7
BLAKE2b-256 40b379d754280149ba75ed8d9bfa736d5d5927db61373621d97c020b1ba791ae

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