Neuro-Fuzzy Toolbox
A PyTorch-based library for the design, training, and analysis of ANFIS-based neuro-fuzzy models. The toolbox provides ready-to-use model variants and training algorithms, a structural adaptation algorithm, and utilities for rule inspection and local contribution analysis. Its modular design also makes it a flexible basis for building custom training procedures and deep neuro-fuzzy architectures.
Installation
pip install neuro-fuzzy-toolbox
Features
- Three ANFIS model variants: classical
ANFIS, homogeneoush_ANFIS, andrule_reduced_ANFISfor high-dimensional settings. - Multiple training strategies: hybrid learning algorithm, single-optimizer training, and dual-optimizer training with independent premise and consequent optimizers. All strategies integrate with PyTorch loss functions and support early stopping.
- Structural adaptation: a modified SONFIS algorithm for
rule_reduced_ANFISmodels, supporting rule growing, splitting, and pruning during training. - Rule inspection and analysis: tabular export of premises and consequents,
membership function visualization, intermediate layer access, and local
rule-contribution analysis via
RulesAnalyzer. - Low-level API: direct access to premise and consequent parameter subsets for custom optimizer instantiation, and programmatic rule addition and removal at runtime.
Requirements
- torch >= 2.5 (tested with 2.5.1, also with 2.14.1)
- numpy >= 2.2 (tested with 2.2.1, also with 2.5.4)
- pandas >= 2.2 (tested with 2.2.3, also with 3.0.6)
- matplotlib >= 3.10 (tested with 3.10.0, also with 3.11.2)
Documentation
Full documentation including a usage guide, API reference, and end-to-end examples is available at: https://neuro-fuzzy-toolbox.readthedocs.io/en/latest/
Metadata
Release files for neuro-fuzzy-toolbox 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neuro_fuzzy_toolbox-0.5.1.tar.gz | 5.8 MB | Without provenance | Details for neuro_fuzzy_toolbox-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neuro_fuzzy_toolbox-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for neuro_fuzzy_toolbox-0.5.1-py3-none-any.whl |
Total release size: 5.8 MB
Release files / neuro_fuzzy_toolbox-0.5.1.tar.gz
| Download URL | neuro_fuzzy_toolbox-0.5.1.tar.gz |
|---|---|
| Size | 5.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebca903b3fdf94d2a58040178428c257a7699c20f20a95f35cc8b3e15cb14761
|
|
BLAKE2b-256 checksum How to use checksums |
772f66c4616e7cb73d8f01b6b9e57750b26c07a2ea2acc9fa07dae9d2e30d835
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / neuro_fuzzy_toolbox-0.5.1-py3-none-any.whl
| Download URL | neuro_fuzzy_toolbox-0.5.1-py3-none-any.whl |
|---|---|
| Size | 64.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a15f7380ee742970e0e91cc5d7dcb5c2bb119a3ca2cb349dcb6438c918809c4d
|
|
BLAKE2b-256 checksum How to use checksums |
95424d7079af8fac03584431601da1765b0fcce97af6378fd86abeb8c4479c96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for neuro-fuzzy-toolbox 0.5.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.