Skip to main content

The fuzzy-theory library provides a PyTorch interface to fuzzy set theory and fuzzy logic operations.

Project description

fuzzy-theory: Fuzzy Set Theory and Fuzzy Logic Operations in PyTorch :fire:

Actions Status Actions Status Code style: black

The fuzzy-theory library provides a PyTorch interface to fuzzy set theory and fuzzy logic operations. It uses minimal dependencies to implement these features and is designed to be easy to use and understand. The library is designed to be used in conjunction with PyTorch and is built on top of PyTorch's tensor operations.

A benefit of using fuzzy-theory is that it allows for the creation of fuzzy sets and fuzzy logic operations in a way that is compatible with PyTorch's autograd system. This means that you can use the library to create fuzzy sets and perform fuzzy logic operations in a way that is differentiable and can be used in neural networks and other machine learning models.

Special features :high_brightness:

  1. Compatible with TorchScript: Some classes may use torch.jit.script or torch.jit.trace for production environments.
  2. Differentiable: The library is designed to be used in conjunction with PyTorch and is built on top of PyTorch's tensor operations.
  3. Minimal dependencies: The library uses minimal dependencies to implement these features.
  4. Easy to use: The library is designed to be easy to use and understand, with a simple API that is similar to PyTorch's tensor operations.
  5. Visualization: Formulas are written with sympy for LaTeX rendering and plots are stylized with scienceplots for publication-ready figures.

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

fuzzy_theory-0.0.5.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

fuzzy_theory-0.0.5-py3-none-any.whl (47.5 kB view details)

Uploaded Python 3

File details

Details for the file fuzzy_theory-0.0.5.tar.gz.

File metadata

  • Download URL: fuzzy_theory-0.0.5.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fuzzy_theory-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a3d8f3c4fc8cda8ed8372bfa98742f9a0f78668e9b7af6a70d1b7aedd3cdfe17
MD5 e8d936d9c4c5998bb161b6bafe276f98
BLAKE2b-256 2d0ffd1eb54c57d4ae5843a538da0dea1fb47d6f78b104a7e7470fb972848baa

See more details on using hashes here.

File details

Details for the file fuzzy_theory-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: fuzzy_theory-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 47.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fuzzy_theory-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 065c813fa6bd1f07bfe457e7b1d77ac061b35e0dea89c0ade185b75897e3c090
MD5 21dc3640d7999ba4862831c37ba5a3e8
BLAKE2b-256 7eb2bc0901a704a6ea91f566f25ff3504f6f2cc9c44cc222c6d31392a3630891

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