Package | Description |
---|---|
org.wso2.extension.siddhi.execution.streamingml.clustering.kmeans.util |
Modifier and Type | Method and Description |
---|---|
static Object[] |
KMeansClusterer.getAssociatedCentroidInfo(DataPoint currentDatapoint,
KMeansModel model)
similar to findAssociatedCluster method but return an Object[] array with the distance
to closest centroid and the coordinates of the closest centroid
|
Modifier and Type | Method and Description |
---|---|
static void |
KMeansClusterer.train(LinkedList<DataPoint> dataPointsArray,
int numberOfEventsToRetrain,
double decayRate,
ExecutorService executorService,
KMeansModel model,
int numberOfClusters,
int maximumIterations,
int dimensionality) |
Copyright © 2017 WSO2. All rights reserved.