A Python Library of Neural network ARTMAP
Project description
Python ARTMAP
A Python Library of Neural network ARTMAP.
Free software: MIT license
How install
pip install python_artmap
Features
This library contains two of the main ART neural network
ARTMAP Fuzzy
ART Fuzzy
How use it
from python_artmap import ARTMAPFUZZY
entrada = np.array([
[0, 0],
[0, 1],
[1, 0],
[1, 1]
])
saida = np.array([
[0],
[0],
[0],
[1],
])
ArtMap = ARTMAPFUZZY(entrada, saida, rhoInterART=0.2, rhoARTa=0.6, rhoARTb=0.9)
ArtMap.train()
ArtMap.test([0, 0], 0.1) #{'index': 0, 'ArtB': [0.0, 1.0], 'id': '0010'}
ArtMap.test([1, 0], 0.1) #{'index': 1, 'ArtB': [1.0, 0.0], 'id': '1000'}
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-06-08)
First release on PyPI.
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
python_artmap-0.2.0.tar.gz
(11.5 kB
view hashes)
Built Distribution
Close
Hashes for python_artmap-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6680f43ec49fabd3cff3e33b99e4d262bd7fd4215ddbc66e57922db4de925852 |
|
MD5 | c4ed547d42a13445ee6fdf0d63cf4766 |
|
BLAKE2b-256 | 0d1763cd4aef9b0d5c347bae36ca57c71384b18877938519d3793043ca4b0ec1 |