Learning Vector Quantisation (LVQ1 and LVQ2.1)
Learning vector quantisation classifies a case by the class of its nearest prototype. The prototypes start at class centres and are trained by presenting cases one at a time: the nearest prototype moves toward the case if their classes match and away if they do not, with a step size that shrinks over training. LVQ2.1 adjusts the two nearest prototypes when the case lies near the border between them.
학습 벡터 양자화는 사례를 가장 가까운 원형(프로토타입)의 범주로 분류합니다. 원형은 범주 중심에서 출발해 사례를 하나씩 보여 주며 학습하는데, 가장 가까운 원형은 범주가 같으면 그 사례 쪽으로, 다르면 반대쪽으로 움직이고 이동 폭은 학습이 진행될수록 줄어듭니다. LVQ2.1은 사례가 두 원형의 경계 근처에 있을 때 가장 가까운 두 원형을 함께 조정합니다.
Can a handful of representative prototypes per class classify my cases as well as more complex rules?
범주마다 몇 개의 대표 원형만으로 더 복잡한 규칙만큼 사례를 잘 분류할 수 있습니까?
The method reports the trained prototypes in the original units, training and held-out accuracy, and a comparison with the nearest-centroid and one-nearest-neighbour rules.
When to use Learning Vector Quantisation (LVQ1 and LVQ2.1)
- You want a compact, interpretable classifier described by a few typical cases.
- Classes are roughly clustered in the feature space.
When to use something else
- You want to keep all training cases as the reference set: use K-Nearest Neighbors (KNN)
- Classes are separated by a linear boundary with shared covariance: use Linear Discriminant Analysis
Assumptions and requirements
- Classes form regions that a few prototypes can cover
- Numeric features on comparable scales (standardised)
- Enough training cases per prototype
What the analysis reports
- Prototypes in original units
- Training and held-out accuracy
- Nearest-centroid and 1-NN comparison
How to report it
LVQ1 with [value] prototypes trained for [value] epochs reached a held-out accuracy of [value], compared with [value] for the nearest-centroid rule and [value] for 1-NN.
Related methods
- K-Nearest Neighbors (KNN)
- Linear Discriminant Analysis
- Condensed Nearest Neighbour Undersampling
- K-Means Clustering
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Learning Vector Quantisation (LVQ1 and LVQ2.1) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.