Skip to content

Project that will allow you to use Fuzzy Logic in conjunction with pytorch.

License

Notifications You must be signed in to change notification settings

VicenteFecedMas/pyanfis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyanfis

Introduction

Welcome to pyanfis! here you will be able to find a project that will allow you to use Fuzzy Logic in conjunction with pytorch. This framework is based on Jang's.

Why should I use pyanfis?

You should use pyanfis if:

  1. You aim to handle non-linearities between inputs and outputs. Unlike feed-forward neural networks, which might require a larger number of layers and neurons to capture complex non-linearities, ANFIS uses fuzzy logic to model these relationships more efficiently.

  2. You want to add Interpretability to your model, as ANFIS systems provide a clear understanding of how inputs are transformed into outputs.

  3. An ANFIS can achieve comparable performance to deep neural networks with fewer training samples.

  4. An ANFIS model will allow you to incorporate domain-specific knowledge into the model through the definition of fuzzy rules and membership functions.

  5. If your models are prone to overfitting, an ANFIS and its fuzzy logic-based structure will inherently imposes constraints on the model complexity, which helps prevent overfitting.

What problems can I solve with pyanfis?

Currently pyanfis has only been tested can be used to solve prediction problems and control problems. In future updates, it will be posible to use it in conjunction with convolutional layers to classify images or to substitude encoders/decoders in different applications.

How can I install pyanfis?

You just need to use on your terminal:

pip install pyanfis

or

pip3 install pyanfis

About

Project that will allow you to use Fuzzy Logic in conjunction with pytorch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages