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:
“An educational method that shall have liberty as its basis must intervene to help the child to a conquest of liberty. That is to say, his training must be such as shall help him to diminish as much as possible the social bonds which limit his activity.”
—Maria Montessori (18701952)
“When the child is twelve, your wife buys her a splendidly silly article of clothing called a training bra. To train what? I never had a training jock. And believe me, when I played football, I could have used a training jock more than any twelve-year-old needs a training bra.”
—Bill Cosby (20th century)
“The want of education and moral training is the only real barrier that exists between the different classes of men. Nature, reason, and Christianity recognize no other. Pride may say Nay; but Pride was always a liar, and a great hater of the truth.”
—Susanna Moodie (18031885)