Not Understanding thr Lab assignment

IN Unsupervised Learning course, am so confused what to do . the lab is about Image compression. Like i dont know the syntax or steps to do k means clustering what should i do?

Study the lectures.
Review the instructions in the notebook.