Skip to content

Commit

Permalink
setting maxiterations to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
nikit-srivastava committed Oct 4, 2018
1 parent d491eb6 commit 6b621e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public W2VNrmlMemModelKMeans(final Map<String, float[]> word2vec, final int vect
}

private void generateComparisonVectors() {
KMeansPlusPlusClusterer<ClusterableVec> clusterer = new KMeansPlusPlusClusterer<>(compareVecCount);
KMeansPlusPlusClusterer<ClusterableVec> clusterer = new KMeansPlusPlusClusterer<>(compareVecCount, 10);
List<ClusterableVec> vecList = new ArrayList<>();
for (float[] vec : word2vec.values()) {
vecList.add(getClusterablePoint(vec));
Expand Down

0 comments on commit 6b621e8

Please sign in to comment.