public interface StartStrategy
| Modifier and Type | Method and Description |
|---|---|
LinkedHashMap<String,HashMap<String,Double>> |
getCentroids(Integer num,
HashMap<String,HashMap<String,Double>> data)
Samples out of data desired number of entries to use as initial cluster centers.
|
LinkedHashMap<String,HashMap<String,Double>> getCentroids(Integer num, HashMap<String,HashMap<String,Double>> data)
num - The desired number of centers.data - The data. JMotif's tfidf structure used.Copyright © 2021. All rights reserved.