Skip to main content

pyanfis

Introduction

Welcome to pyanfis! here you will be able to find a project that will allow you to use Fuzzy Logic with plain Python!

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?

For now download the repo and access it as you would access a normal code module. If you need more info just contact me!!

Metadata

Release files for pyanfis 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyanfis 0.1.13
File Size Uploaded
pyanfis-0.1.13.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyanfis 0.1.13
File Interpreter ABI Platform
pyanfis-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 33.7 kB

Release files / pyanfis-0.1.13.tar.gz

Download URL pyanfis-0.1.13.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5d8f9f5c99d186b435e01b9cf561d78de6e1a5e6f66a9f4ad2703963dac0ee74
BLAKE2b-256 checksum
How to use checksums
1e50f278177b40ab79d60e812a7f272e0e169f0e8af0bf7d73bbd1126fc83fe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2026.

Transparency log

Release files / pyanfis-0.1.13-py3-none-any.whl

Download URL pyanfis-0.1.13-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50506109e17c0ed39848376a0f7abd6ca7bb356f01e549cc5d5f6377b84ba675
BLAKE2b-256 checksum
How to use checksums
9d8306897f5c76faa8b72103bdfe79f948c659685a3b497c74c045a69871a0da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.13 This release

2 release files

0.1.12

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page