k means clustering for image classification code example Example: k means image classification print(reference_labels)