public class StreamingClusteringTask extends ProcessTask
Modifier and Type | Field and Description |
---|---|
int |
numberOfClusters |
Queue<org.apache.samoa.moa.cluster.Clustering> |
samoaClusters |
batchDelayOption, builder, cepEvents, dumpFileOption, evaluationNameOption, evaluatorOption, inputStream, instanceLimitOption, learner, learnerOption, sampleFrequencyOption, samplingThresholdOption, source, sourceDelayOption, sourcePiOutputStream, streamTrainOption, topology
Constructor and Description |
---|
StreamingClusteringTask() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
setNumberOfClusters(int numberOfClusters) |
void |
setSamoaClusters(Queue<org.apache.samoa.moa.cluster.Clustering> samoaClusters) |
getDefaultPerformanceEvaluatorForLearner, getTopology, isLearnerAndEvaluatorCompatible, setCepEvents, setFactory
public Queue<org.apache.samoa.moa.cluster.Clustering> samoaClusters
public int numberOfClusters
public void init()
init
in interface org.apache.samoa.tasks.Task
init
in class ProcessTask
public void setSamoaClusters(Queue<org.apache.samoa.moa.cluster.Clustering> samoaClusters)
public void setNumberOfClusters(int numberOfClusters)
Copyright © 2017 WSO2. All rights reserved.