Skip to content

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

License

Notifications You must be signed in to change notification settings

johnHostetter/fuzzy-theory

Repository files navigation

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

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 🔆

  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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages