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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file awesom-0.1.4.tar.gz.

File metadata

  • Download URL: awesom-0.1.4.tar.gz
  • Upload date:
  • Size: 13.5 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.4.tar.gz
Algorithm Hash digest
SHA256 fbb1c79e3bc90e54c9c6f679408c05173818b09bdecd90af6212ede5d49a80ac
MD5 c65150da87a984098ba84a790682044a
BLAKE2b-256 adc2691e267ffe3acc017231f9d7d26cf3aaae1e9432328a981185d187597872

See more details on using hashes here.

File details

Details for the file awesom-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: awesom-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4df2059ba8fefacf26d037c62266d5b3e0fff2b504aeef603600a256220294e9
MD5 3bc4e1df423102c0e198bfdaab85f0c6
BLAKE2b-256 1a2dbbb31ed00b1a1aa04273012cbea0fa839a3dc32ed5c859ad959e496e64d0

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