Related Experiment Video
Updated: Jul 7, 2026

Design and Evaluation of Smart Glasses for Food Intake and Physical Activity Classification
Published on: February 14, 2018
A fast exact GLA based on code vector activity detection
T Kaukoranta1, P Franti, O Nevalainen
1Turku Centre for Computer Science (TUCS), Department of Computer Science, University of Turku, Lemminkäisenkatu 14A, FIN-20520 Turku, Finland.
Abstract:
This paper introduces a new method for reducing the number of distance calculations in the generalized Lloyd algorithm (GLA), which is a widely used method to construct a codebook in vector quantization. Reduced comparison search detects the activity of the code vectors and utilizes it on the classification of the training vectors. For training vectors whose current code vector has not been modified, we calculate distances only to the active code vectors. A large proportion of the distance calculations can be omitted without sacrificing the optimality of the partition. The new method is included in several fast GLA variants reducing their running times over 50% on average.
Related Concept Videos
Acceleration Vectors
Vector Functions and Motion: Problem Solving
Vector Operations
A vector multiplied by a scalar value is called scalar multiplication. The result obtained is a new vector with a different magnitude. If the scalar is positive, the direction of the vector remains the same, but if it is negative, the direction of the vector is reversed. For example, the product of the mass and velocity yields the momentum.
Vector or Cross Product
Consider the cross product of two vectors. Imagine rotating the first vector about...
Vectors in 2D: Problem Solving
Vector Algebra: Method of Components
In many applications, the magnitudes and directions of...
