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
- Gram ART
-
Metric Informed
- CVI ART
- iCVI Fuzzy ART
-
Topological
- Topo ART
-
Classification
- Simple ARTMAP
-
Regression
- ARTMAP
- Fusion ART
-
Hierarchical
- DeepARTMAP
- SMART
-
Data Fusion
- Fusion ART
-
Reinforcement Learning
- FALCON
-
Biclustering
- Biclustering ARTMAP
Comparison of Elementary Models
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file artlib-0.1.2.tar.gz
.
File metadata
- Download URL: artlib-0.1.2.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 734f34a3d7df79740a34ba386f2b7f1e23b9b26acab3efd4d479952df8bc50e1 |
|
MD5 | 0acc4bb989d6efcae93a112c95ca3664 |
|
BLAKE2b-256 | b716651a4b063e8b5a6cd4705055bfaefb12ac64c66a7719afbe975e7b103dd9 |
File details
Details for the file artlib-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: artlib-0.1.2-py3-none-any.whl
- Upload date:
- Size: 65.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8345a76da63e9a584961c3a9840c1546052dbe327a767c0318f3adb935842471 |
|
MD5 | 3cbf69eb3f5cc01b68008b007670e657 |
|
BLAKE2b-256 | fff2f1bbb45742050565cda2c78331988cda9b8c77e8256e72e22467c7024bd5 |