Metadata-Version: 2.4
Name: pyanfis
Version: 0.1.13
Summary: A Python based library for using ANFIS
Author-email: Vicente Feced Mas <vicente.feced.mas@gmail.com>
License: Copyright (c) 2024 The Python Packaging Authority
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://github.com/VicenteFecedMas/pyanfis
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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](https://www.researchgate.net/publication/3113825_ANFIS_Adaptive-Network-based_Fuzzy_Inference_System?enrichId=rgreq-15825cac70a3ae795992310484420cab-XXX&enrichSource=Y292ZXJQYWdlOzMxMTM4MjU7QVM6MTU5MDc1MDY1MTQ3MzkyQDE0MTQ5Mzc4NTk3MzI%3D&el=1_x_2&_esc=publicationCoverPdf).

## 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!!
