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.2.post1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

awesom-0.1.2.post1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file awesom-0.1.2.post1.tar.gz.

File metadata

  • Download URL: awesom-0.1.2.post1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.1 Darwin/20.6.0

File hashes

Hashes for awesom-0.1.2.post1.tar.gz
Algorithm Hash digest
SHA256 e24cc0406a7ad67525b57e7ac4cb7ee0c2bb4d1be3c6164987b88bf67123a8ed
MD5 96662db22a6e6bc4ab2ea5b564fed14c
BLAKE2b-256 f4ebddf9f07184c7a9fa7816df137918c68b431351a734caaa468a11774244a4

See more details on using hashes here.

File details

Details for the file awesom-0.1.2.post1-py3-none-any.whl.

File metadata

  • Download URL: awesom-0.1.2.post1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.1 Darwin/20.6.0

File hashes

Hashes for awesom-0.1.2.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 430de87b8262ce0e0265e10f224414f3f3ce00de96b361e0d5d52890d1aa7913
MD5 fb62bafd844e2a1d94a863285d51ffa8
BLAKE2b-256 e7f0c97d660078201940e33f64f9d2c1e4132e37a9781dcdaebf35b9f2347301

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