Welcome to UniLVQ’s documentation!

https://img.shields.io/badge/release-0.2.0-yellow.svg https://badge.fury.io/py/unilvq.svg https://img.shields.io/pypi/pyversions/unilvq.svg https://img.shields.io/pypi/dm/unilvq.svg https://github.com/thieu1995/UniLVQ/actions/workflows/publish-package.yml/badge.svg https://pepy.tech/badge/unilvq https://readthedocs.org/projects/unilvq/badge/?version=latest https://img.shields.io/badge/Chat-on%20Telegram-blue https://img.shields.io/badge/DOI-10.6084%2Fm9.figshare.29002685-blue https://img.shields.io/badge/License-GPLv3-blue.svg

UniLVQ is an open-source Python library that provides a unified, extensible, and user-friendly implementation of Learning Vector Quantization (LVQ) algorithms for supervised learning. It supports both classification and regression tasks, and is designed to work seamlessly with the scikit-learn API.

Built on top of NumPy and PyTorch, UniLVQ combines rule-based and neural-inspired LVQ variants, making it suitable for both research and practical applications.

  • Free software: GNU General Public License (GPL) V3 license

  • Provided Estimators:
    • Classification: Lvq1Classifier, Lvq2Classifier, Lvq3Classifier, OptimizedLvq1Classifier, GlvqClassifier, GrlvqClassifier, LgmlvqClassifier

    • Regression: GlvqRegressor, GrlvqRegressor

  • Supported performance metrics: >= 67 (47 regressions and 20 classifications)

  • Documentation: https://unilvq.readthedocs.io

  • Python versions: >= 3.8.x

  • Dependencies: numpy, scipy, scikit-learn, pandas, permetrics, torch

Quick Start:

Indices and tables