List of usage examples for org.apache.mahout.math.neighborhood FastProjectionSearch FastProjectionSearch
public FastProjectionSearch(DistanceMeasure distanceMeasure, int numProjections, int searchSize)
From source file:org.plista.kornakapi.core.training.StramingKMeansClusterer.java
License:Apache License
public StramingKMeansClusterer(StreamingKMeansClassifierModel model, int clusters, long cutoff) { this.model = model; this.clusters = clusters; this.cutoff = cutoff; UpdatableSearcher searcher = new FastProjectionSearch(new ManhattanDistanceMeasure(), 10, 10); clusterer = new StreamingKMeans(searcher, clusters, cutoff); }