public interface LocalClustererAdapter extends Serializable
Modifier and Type | Method and Description |
---|---|
LocalClustererAdapter |
create()
Creates a new learner object.
|
Instances |
getDataset() |
Clustering |
getMicroClusteringResult() |
double[] |
getVotesForInstance(Instance inst)
Predicts the class memberships for a given instance.
|
boolean |
implementsMicroClusterer() |
void |
resetLearning()
Resets this classifier.
|
void |
setDataset(Instances dataset)
Sets where to obtain the information of attributes of Instances
|
void |
trainOnInstance(Instance inst)
Trains this classifier incrementally using the given instance.
|
LocalClustererAdapter create()
double[] getVotesForInstance(Instance inst)
inst
- the instance to be classifiedvoid resetLearning()
void trainOnInstance(Instance inst)
inst
- the instance to be used for trainingvoid setDataset(Instances dataset)
dataset
- the dataset that contains the informationInstances getDataset()
boolean implementsMicroClusterer()
Clustering getMicroClusteringResult()
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.