A pytorch-based package to use ANFIS for AI
Project description
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:
-
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.
-
You want to add Interpretability to your model, as ANFIS systems provide a clear understanding of how inputs are transformed into outputs.
-
An ANFIS can achieve comparable performance to deep neural networks with fewer training samples.
-
An ANFIS model will allow you to incorporate domain-specific knowledge into the model through the definition of fuzzy rules and membership functions.
-
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyanfis-0.1.8.tar.gz.
File metadata
- Download URL: pyanfis-0.1.8.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d1261e0de3dab47075460cc9fd2c310431101819e4a350744ca58622934fa2a
|
|
| MD5 |
c4dc598ffb46ac26b6e445b583160228
|
|
| BLAKE2b-256 |
7012a6e86e43c554b18a6b999d45aa93d3b8a58c85c94f243f28a16f4d868d17
|
File details
Details for the file pyanfis-0.1.8-py3-none-any.whl.
File metadata
- Download URL: pyanfis-0.1.8-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc481b82e62ac3098130ebb9738c99d9752e502f190fed1e6e0e07f53e6a1c33
|
|
| MD5 |
b80676feb2ddbb8791bf46c8e9b214db
|
|
| BLAKE2b-256 |
07d9f2b6293fd0f921e1d703b8868f46aa43723c8d696540defdbf5cfe331e58
|