Metadata-Version: 2.1
Name: awesom
Version: 0.1.6
Summary: Self-organizing map framework for Python
Home-page: https://github.com/Teagum/awesom
License: BSD-3-Clause
Author: Michael Blaß
Author-email: mblass@posteo.net
Requires-Python: >=3.10,<4.0
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Classifier: Typing :: Typed
Requires-Dist: matplotlib (>=3.6.1,<4.0.0)
Requires-Dist: numpy (>=2.0.0,<3.0.0)
Requires-Dist: scipy (>=1.14.0,<2.0.0)
Requires-Dist: tox (>=4.9.0,<5.0.0)
Description-Content-Type: text/markdown

[![mypy](https://github.com/Teagum/blossom/actions/workflows/mypy.yml/badge.svg)](https://github.com/Teagum/blossom/actions/workflows/mypy.yml)
[![pylint](https://github.com/Teagum/blossom/actions/workflows/pylint.yml/badge.svg)](https://github.com/Teagum/blossom/actions/workflows/pylint.yml)

# Awesom
Self-organizing map framework for Python


```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](https://user-images.githubusercontent.com/11088297/209104159-958cfbef-15f5-4259-9c15-bfebcb76058e.png "Input dataspce with wire plot")

