Scikit-Learn compatible Generalized Learning Vector Quantization (GLVQ) and Robust Soft Learning Vector Quantization implementation.
Project description
Warning
Repository and Package Name changed to sklearn-lvq!
Generalized Learning Vector Quantization
Scikit-learn compatible implementation of GLVQ, GRLVQ, GMLVQ, LGMLVQ RSLVQ, MRSLVQ and LMRSLVQ.
Compatible with Python2.7, Python3.6 and above.
This implementation is based on the Matlab implementation provided by Biehl, Schneider and Bunte (http://matlabserver.cs.rug.nl/gmlvqweb/web/).
Important Links
- scikit-learn (http://scikit-learn.org/)
- documentation (https://sklearn-lvq.readthedocs.io/en/latest/?badge=latest)
Installation
To install this module run:
pip install .
or
pip install sklearn-lvq
To also install the extras, use
pip install .[docs,examples,tests]
or
pip install -U sklearn-lvq[docs,examples,tests]
Examples
To run the examples:
pip install -U sklearn-lvq[examples]
The examples can be found in the examples directory.
Testing
To run testss:
pip install -U sklearn-lvq[tests]
Tests are located in the sklearn_lvq/tests
folder
and can be run with the nosetests
command in the main directory.
Documentation
To build the documentation locally, ensure that you have sphinx, sphinx-gallery, pillow, sphinx_rt_theme, metric_learn and matplotlib by executing:
pip install -U sklearn-lvq[docs]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sklearn-lvq-1.1.1.tar.gz
.
File metadata
- Download URL: sklearn-lvq-1.1.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62df832a8c59761bd1550e5550e0af2c22f6ed79c164ef668d4c1e97fa05cd4 |
|
MD5 | 0eb11e472605e0be8d16befd57b37a75 |
|
BLAKE2b-256 | 0bf7a4785ee044f3e5bb50e14b553dbaff9d0f895ed62e18a581159cfe5be2fb |
File details
Details for the file sklearn_lvq-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: sklearn_lvq-1.1.1-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c8305cfad6cb0db64c0fdcdebc1e824d2f61c23704c91c0b4f607ae2a3e575f |
|
MD5 | 7c03ee15e7f62c9cf843bb6dde211ac0 |
|
BLAKE2b-256 | 4f7c8ecc19d3b45fb1da4eb2926464d05fa2725d675759304744a897e2781a61 |