Skip to main content

PyTorch-based toolbox for designing, training, and analyzing ANFIS-based neuro-fuzzy models. Includes classical and rule-reduced ANFIS variants, hybrid and optimizer-based training strategies, SONFIS structural adaptation, and rule-inspection utilities.

Project description

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.

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 in 2.5.1)
  • numpy >= 2.2 (tested in 2.2.1)
  • pandas >= 2.2 (tested in 2.2.3)
  • matplotlib >= 3.10 (tested in 3.10.0)

Documentation

Documentation Status

Full documentation including a usage guide, API reference, and end-to-end examples is available at: https://neuro-fuzzy-toolbox.readthedocs.io/en/latest/

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

neuro_fuzzy_toolbox-0.1.0.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

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

neuro_fuzzy_toolbox-0.1.0-py3-none-any.whl (49.8 kB view details)

Uploaded Python 3

File details

Details for the file neuro_fuzzy_toolbox-0.1.0.tar.gz.

File metadata

  • Download URL: neuro_fuzzy_toolbox-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for neuro_fuzzy_toolbox-0.1.0.tar.gz
Algorithm Hash digest
SHA256 855d20e9140d5c3bb6363e26d86d8dafce757918d7fd1d79595486103c2e4be1
MD5 a1cec79517db253eec9a69ede46891dc
BLAKE2b-256 56cc17187e1b9ab0422dddeb0b43dc0e958c6f4b8a854b2d311decd4d582ffc3

See more details on using hashes here.

File details

Details for the file neuro_fuzzy_toolbox-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for neuro_fuzzy_toolbox-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6611be69783d9529549d3278422ca37d195e57d26bc92bc2c7a45154bed1199b
MD5 59d64ffe82e71ae5b5d864734993ac7a
BLAKE2b-256 dad49ebe8a997b76f39dceda5f6457f91eb01cf601f47183c6aac4a1dad0d0da

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