Skip to main content

A Python library for Adaptive Resonance Theory (ART) algorithms.

Project description

AdaptiveResonanceLib

Welcome to AdaptiveResonanceLib, a comprehensive and modular Python library for Adaptive Resonance Theory (ART) algorithms. Based on scikit-learn, our library offers a wide range of ART models designed for both researchers and practitioners in the field of machine learning and neural networks. Whether you're working on classification, clustering, or pattern recognition, AdaptiveResonanceLib provides the tools you need to implement ART algorithms efficiently and effectively.

Available Models

AdaptiveResonanceLib includes implementations for the following ART models:

  • Elementary Clustering

    • ART1
    • ART2
    • Bayesian ART
    • Gaussian ART
    • Hypersphere ART
    • Ellipsoidal ART
    • Fuzzy ART
    • Quadratic Neuron ART
    • Dual Vigilance ART
  • Topological

    • Topo ART
  • Classification

    • Simple ARTMAP
  • Regression

    • ARTMAP
  • Hierarchical

    • DeepARTMAP
    • SMART
  • Data Fusion and Reinforcement Learning

    • Fusion ART
  • Biclustering

    • Biclustering ARTMAP

Comparison of Elementary Models

Comparison of Elementary Images

Installation

To install AdaptiveResonanceLib, simply use pip:

pip install artlib

Ensure you have Python 3.9 or newer installed.

Quick Start

Here's a quick example of how to use AdaptiveResonanceLib with the Fuzzy ART model:

from artlib import FuzzyART
import numpy as np

# Your dataset
train_X = np.array([...])
test_X = np.array([...])

# Initialize the Fuzzy ART model
model = FuzzyART(rho=0.7, alpha = 0.0, beta=1.0)

# Fit the model
model.fit(train_X)

# Predict new data points
predictions = model.predict(test_X)

Replace params with the parameters appropriate for your use case.

Documentation

For more detailed documentation, including the full list of parameters for each model, visit our documentation page.

Examples

For examples of how to use each model in AdaptiveResonanceLib, check out the /examples directory in our repository.

Contributing

We welcome contributions to AdaptiveResonanceLib! If you have suggestions for improvements, or if you'd like to add more ART models, please see our CONTRIBUTING.md file for guidelines on how to contribute.

You can also join our Discord server and participate directly in the discussion.

License

AdaptiveResonanceLib is open source and available under the MIT license. See the LICENSE file for more info.

Contact

For questions and support, please open an issue in the GitHub issue tracker or message us on our Discord server. We'll do our best to assist you.

Happy Modeling with AdaptiveResonanceLib!

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

artlib-0.1.1.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

artlib-0.1.1-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file artlib-0.1.1.tar.gz.

File metadata

  • Download URL: artlib-0.1.1.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for artlib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2069fa2525129a0daed40047d28f75705bf359e5ce89b84be7731c98dbe7f2df
MD5 3d1b37a5e1b08e025c57103962e978cb
BLAKE2b-256 87256ddd5d4fabc3f40bb166a3a4fd24e5a2d3cd943afbaace63e4a32c7fd9a3

See more details on using hashes here.

File details

Details for the file artlib-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: artlib-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for artlib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a08bac2412381be9adc0920e3cb144970907b08ea09919ac5ba2dcf98cf25d73
MD5 05d0d1c49ccc76a06e4a13b28d61bc47
BLAKE2b-256 4534e454c94613e4c96867f82cfa3a3d6ec773b999bd0f1310e8901a024fac40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page