July 2017
Beginner to intermediate
420 pages
10h 56m
English
Go to the Tools menu, Canopy Command Prompt, and type in:
spark-submit SparkKMeans.py
Hit Return, and off it will go. In this situation, you might have to wait a few moments for the output to appear in front of you, but you should see something like this:

It worked, awesome! So remember, the output that we asked for was, first of all, a count of how many points ended up in each cluster. So, this is telling us that cluster 0 had 21 points in it, cluster 1 had 20 points in it, and so on and so forth. It ended up pretty evenly distributed, so that's a good sign.
Next, we printed out the cluster assignments for each individual ...
Read now
Unlock full access