Skip to main content

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:

  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

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

pyanfis-0.1.12.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

pyanfis-0.1.12-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file pyanfis-0.1.12.tar.gz.

File metadata

  • Download URL: pyanfis-0.1.12.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pyanfis-0.1.12.tar.gz
Algorithm Hash digest
SHA256 f00a68f4fd3a1efb81a5cb232c18ef5ecc7b5a743f64d27b2c8f50b53a235581
MD5 af0a2c6b43969fc6eedb269e7a591ba5
BLAKE2b-256 c9ab92ca9c4b248638371a8d9d6fb5f007ed490bbccf0862dbd77db523078eff

See more details on using hashes here.

File details

Details for the file pyanfis-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: pyanfis-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pyanfis-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 21a7393935bee5d991cb5e5dea426213615fa21d31f8fcf6eb3d6ab00d8bfb98
MD5 8916e8835b92dcab9a4e2d28d870c104
BLAKE2b-256 522104621e2724283039c3225515a9c26740a6e178f13447820c6648373f06bc

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