Skip to main content

Python ARTMAP

https://img.shields.io/pypi/v/python_artmap.svg
https://img.shields.io/travis/DavidVinicius/python_artmap.svg Documentation Status

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

import numpy as np
from python_artmap import ARTMAPFUZZY

input  = np.array([
        [0, 0],
        [0, 1],
        [1, 0],
        [1, 1]
])

output  = np.array([
        [0],
        [0],
        [0],
        [1],
])

ArtMap = ARTMAPFUZZY(input, output, rhoARTa=0.6, rhoARTb=0.9)
ArtMap.train()

ArtMap.test([0, 0]) #{'index': 0, 'ArtB': [0.0, 1.0], 'id': '0010'}
ArtMap.test([0, 1]) #{'index': 0, 'ArtB': [0.0, 1.0], 'id': '0010'}
ArtMap.test([1, 0]) #{'index': 0, 'ArtB': [0.0, 1.0], 'id': '0010'}
ArtMap.test([1, 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.

Metadata

Release files for python-artmap 0.4.1

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

Source distribution (sdist)

Source distribution for python-artmap 0.4.1
File Size Uploaded Provenance Actions
python_artmap-0.4.1.tar.gz 11.4 kB Without provenance Details for python_artmap-0.4.1.tar.gz

Release files / python_artmap-0.4.1.tar.gz

Download URL python_artmap-0.4.1.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
373b5c7b4c7aa7cd45a2ad2b00c2a35fbb06153aba72ff1fc8944467bd72b184
BLAKE2b-256 checksum
How to use checksums
df3f3a20765612a44774b44670d9324054269bb1a042ad5b8da66c1a52ea409e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3

Security for python-artmap 0.4.1

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