Package org.openrefine.clustering.knn
Class kNNClusterer
- java.lang.Object
-
- org.openrefine.clustering.Clusterer
-
- org.openrefine.clustering.knn.kNNClusterer
-
public class kNNClusterer extends Clusterer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
kNNClusterer.kNNClustererConfig
static class
kNNClusterer.kNNClustererConfigParameters
static class
kNNClusterer.ValuesComparator
-
Constructor Summary
Constructors Constructor Description kNNClusterer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeClusters(Engine engine)
protected List<ClusteredEntry>
getClusteredEntries(Set<Serializable> s)
List<List<ClusteredEntry>>
getJsonRepresentation()
void
initializeFromConfig(Grid state, kNNClusterer.kNNClustererConfig config)
-
Methods inherited from class org.openrefine.clustering.Clusterer
initializeFromConfig
-
-
-
-
Method Detail
-
initializeFromConfig
public void initializeFromConfig(Grid state, kNNClusterer.kNNClustererConfig config)
-
computeClusters
public void computeClusters(Engine engine)
- Specified by:
computeClusters
in classClusterer
-
getClusteredEntries
protected List<ClusteredEntry> getClusteredEntries(Set<Serializable> s)
-
getJsonRepresentation
public List<List<ClusteredEntry>> getJsonRepresentation()
-
-