May 2018
Beginner
490 pages
13h 16m
English
The initial unlabeled data can now be classified into cluster labels as shown in the following code:
#IV.Defining the Result labels labels = kmeans.labels_colors = ['blue','red','green','black','yellow','brown','orange']
Colors can be used for semantic purposes beyond nice display labels. A color for each top customer or leading product can be assigned, for example.
Read now
Unlock full access