Learning vector quantization


In computer science, learning vector quantization, is a prototype-based supervised classification algorithm. LVQ is the supervised counterpart of vector quantization systems.

Overview

LVQ can be understood as a special case of an artificial neural network, more precisely, it applies a winner-take-all Hebbian learning-based approach. It is a precursor to self-organizing maps and related to neural gas, and to the k-nearest neighbor algorithm. LVQ was invented by Teuvo Kohonen.
An LVQ system is represented by prototypes which are defined in the feature space of observed data. In winner-take-all training algorithms one determines, for each data point, the prototype which is closest to the input according to a given distance measure. The position of this so-called winner prototype is then adapted, i.e. the winner is moved closer if it correctly classifies the data point or moved away if it classifies the data point incorrectly.
An advantage of LVQ is that it creates prototypes that are easy to interpret for experts in the respective application domain.
LVQ systems can be applied to multi-class classification problems in a natural way.
It is used in a variety of practical applications. See the '.
A key issue in LVQ is the choice of an appropriate measure of distance or similarity for training and classification. Recently, techniques have been developed which adapt a parameterized distance measure in the course of training the system, see e.g. and references therein.
LVQ can be a source of great help in classifying text documents.

Algorithm

Below follows an informal description.
The algorithm consists of three basic steps. The algorithm's input is:
The algorithm's flow is:
  1. For next input in find the closest neuron,
i.e. , where is the metric used.
  1. Update. A better explanation is get closer to the input, if and belong to the same label and get them further apart if they don't.
if
or if .
  1. While there are vectors left in go to step 1, else terminate.
Note: and are vectors in feature space.
A more formal description can be found here: http://jsalatas.ictpro.gr/implementation-of-competitive-learning-networks-for-weka/