Skip to content

Commit

Permalink
changing the init method to Furthest. PlusPlus seemed to still be una…
Browse files Browse the repository at this point in the history
…ble to find the global minima, even with 4 trials. (with this dataset). Furthest hasn't failed for me yet (I pick best of 4 trials). I wonder if PlusPlus is a biased init, so it's not as interesting if you need to pick best of N trials to get best result.
  • Loading branch information
Kevin Normoyle committed Sep 5, 2014
1 parent b1e4947 commit aa484ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/testdir_multi_jvm/test_KMeans2_sphere5_bad_inits.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def test_KMeans2_sphere5_bad_inits(self):
'normalize': 0,
'k': CLUSTERS,
'max_iter': MAX_ITER,
'initialization': 'PlusPlus',
'initialization': 'Furthest',
# 'initialization': 'PlusPlus',
'destination_key': 'syn_spheres100.hex',
'seed': SEED
}
Expand Down

0 comments on commit aa484ac

Please sign in to comment.