Fourth lecture task
Use whichever platform you prefer to work on – we will give references and hints for R
and for Python
.
Do one of the following tasks:
Task
Exercise 14.2 on page 579.
Task
Implement k-means and vector quantization. Produce vector quantization compressions of this picture at two levels, one with 200 code vectors, one with 6 code vectors.
Task
Download the MNIST dataset training set. Cluster the images, using within-cluster sum of squares to decide on the number of clusters.