Skip to main content

Neuro-Fuzzy Toolbox

PyPI version Python Versions Documentation Status License: MIT

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, homogeneous h_ANFIS, and rule_reduced_ANFIS for 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_ANFIS models, 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.0

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

Source distribution (sdist)

Source distribution for neuro-fuzzy-toolbox 0.5.0
File Size Uploaded Provenance Actions
neuro_fuzzy_toolbox-0.5.0.tar.gz 5.8 MB Without provenance Details for neuro_fuzzy_toolbox-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neuro-fuzzy-toolbox 0.5.0
File Interpreter ABI Platform Actions
neuro_fuzzy_toolbox-0.5.0-py3-none-any.whl Python 3 none any Details for neuro_fuzzy_toolbox-0.5.0-py3-none-any.whl

Total release size: 5.8 MB

Release files / neuro_fuzzy_toolbox-0.5.0.tar.gz

Download URL neuro_fuzzy_toolbox-0.5.0.tar.gz
Size 5.8 MB
Tags Source
SHA-256 checksum
How to use checksums
6a61f523f646c6301a24419984c9b778d9c5596c4056324ba8defe1eae2e1e82
BLAKE2b-256 checksum
How to use checksums
983313a7c8892288409f37e44da043ff9c6a71e8bbc56bbbb593e6a3012fcd2f
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.0-py3-none-any.whl

Download URL neuro_fuzzy_toolbox-0.5.0-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98094443b06c9d798b29fc4f30220193f051f6bb50f1247c218bee112b3b52fc
BLAKE2b-256 checksum
How to use checksums
38a69275338efeaba892653bb57084689372c3ed0d4868ea43507c2de7a684b7
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.0

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.

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