X-Git-Url: http://plrg.eecs.uci.edu/git/?p=pingpong.git;a=blobdiff_plain;f=python_ml%2Fplotting-dbscan.py;h=2202a8ef19894255d34eb24da996cad7754b851e;hp=580d4df90e4d7baa386cccdfa30b2a2eef18778f;hb=e21dffd88279bcc592e9ba6c680f5c992f970af3;hpb=c3dfedb1170a2dd0a3ca5627a3da09576240b51f diff --git a/python_ml/plotting-dbscan.py b/python_ml/plotting-dbscan.py index 580d4df..2202a8e 100644 --- a/python_ml/plotting-dbscan.py +++ b/python_ml/plotting-dbscan.py @@ -84,7 +84,7 @@ for pair in pairsArr: else: # Only print the frequency when this is a real cluster plt.text(pair[0], pair[1], str(pair[0]) + ", " + str(pair[1]) + - " f: " + str(labels.tolist().count(labels[count])), fontsize=10) + " : " + str(labels.tolist().count(labels[count])), fontsize=10) count = count + 1