Skip to main content

Self-organizing map framework for Python

Project description

mypy pylint

Awesom

Self-organizing map framework for Python

import matplotlib.pyplot as plt

from awesom import datasets
from awesom import plot as asp
from awesom.som import IncrementalMap


X, y = datasets.norm_circle(5, 500, 1, radius=4)

som = IncrementalMap((7, 7, X.shape[1]), 100, 0.04, 4)
som.fit(X)

fig, ax = plt.subplots(1, 1)
asp.data_2d(ax, X, y)
asp.wire(ax, som)

SOM wire plot

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

awesom-0.1.4.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

awesom-0.1.4-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

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