Skip to main content

Self-Organizing Map algorithm.

Project description

Travis Codecov CircleCI ReadTheDocs PythonVersion Pypi Conda

som-learn

Implementation of Self-Organizing Map algorithm [1] that is compatible with scikit-learn API. It provides a wrapper class around Somoclu.

Documentation

Installation documentation, API documentation, and examples can be found on the documentation.

Dependencies

som-learn is tested to work under Python 3.6+. The dependencies are the following:

  • scikit-learn(>=0.21)
  • somoclu(>=1.7.5)

Additionally, to run the examples, you need matplotlib(>=2.0.0) and pandas(>=0.22).

Installation

som-learn is currently available on the PyPi’s repository and you can install it via pip:

pip install -U som-learn

The package is released also in Anaconda Cloud platform:

conda install -c algowit som-learn

If you prefer, you can clone it and run the setup.py file. Use the following commands to get a copy from GitHub and install all dependencies:

git clone https://github.com/AlgoWit/som-learn.git
cd som-learn
pip install .

Or install using pip and GitHub:

pip install -U git+https://github.com/AlgoWit/som-learn.git

Testing

After installation, you can use pytest to run the test suite:

make test

References:

[1]T. Kohonen, M. R. Schroeder, T. S. Huang, “Self-Organizing Maps”, Springer-Verlag, 2001.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for som-learn, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size som_learn-0.1.1-py3-none-any.whl (7.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size som-learn-0.1.1.tar.gz (18.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page