Training
A simple training algorithm for vector quantization is:
- Pick a sample point at random
- Move the nearest quantization vector centroid towards this sample point, by a small fraction of the distance
- Repeat
A more sophisticated algorithm reduces the bias in the density matching estimation, and ensures that all points are used, by including an extra sensitivity parameter:
- Increase each centroid's sensitivity by a small amount
- Pick a sample point at random
- Find the quantization vector centroid with the smallest
- Move the chosen centroid toward the sample point by a small fraction of the distance
- Set the chosen centroid's sensitivity to zero
- Repeat
It is desirable to use a cooling schedule to produce convergence: see Simulated annealing.
The algorithm can be iteratively updated with 'live' data, rather than by picking random points from a data set, but this will introduce some bias if the data is temporally correlated over many samples. A vector is represented either geometrically by an arrow whose length corresponds to its magnitude and points in an appropriate direction, or by two or three numbers representing the magnitude of its components.
Read more about this topic: Vector Quantization
Famous quotes containing the word training:
“Dancing is a wonderful training for girls, its the first way you learn to guess what a man is going to do before he does it.”
—Christopher Morley (18901957)
“Perhaps the most valuable result of all education is the ability to make yourself do the thing you have to do, when it ought to be done, whether you like it or not; it is the first lesson that ought to be learned; and however early a mans training begins, its probably the last lesson that he learns thoroughly.”
—Thomas Henry Huxley (182595)
“Im not suggesting that all men are beautiful, vulnerable boys, but we all started out that way. What happened to us? How did we become monsters of feminist nightmares? The answer, of course, is that we underwent a careful and deliberate process of gender training, sometimes brutal, always dehumanizing, cutting away large chunks of ourselves. Little girls went through something similarly crippling. If the gender training was successful, we each ended up being half a person.”
—Frank Pittman (20th century)