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.7.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

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

fuzzy_theory-0.0.7-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fuzzy_theory-0.0.7.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fuzzy_theory-0.0.7.tar.gz
Algorithm Hash digest
SHA256 68fe6c042be95025f1a285a5c6eb29f5552af50befe4bb0b680669b5432dfb8e
MD5 d65f0fcbd400d6fb5806e403779f5689
BLAKE2b-256 c5829c40fea45dea668c3dcc4a137af63b1c6b3b59b7848cf6bf9e1be32735cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fuzzy_theory-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 56.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fuzzy_theory-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 75c6385961e956f54cea16432b25412c3b84a4d0eb56111f8c25c9e37c71e95f
MD5 2811b0308ba938b417dc61103b13841b
BLAKE2b-256 89a12a880c59567e4da4bc95ff8c96eba9d977f51f283a52a4869404ac07e35a

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