O - the type of objects handled by this algorithmpublic interface Classifier<O> extends Algorithm
| Modifier and Type | Method and Description | 
|---|---|
void | 
buildClassifier(Database database,
               Relation<? extends ClassLabel> classLabels)
Performs the training. 
 | 
ClassLabel | 
classify(O instance)
Classify a single instance. 
 | 
java.lang.String | 
model()
Produce a String representation of the classification model. 
 | 
getInputTypeRestriction, runvoid buildClassifier(Database database, Relation<? extends ClassLabel> classLabels)
database - the database to build the model onclassLabels - the classes to be learnedClassLabel classify(O instance)
instance - an instance to classifyjava.lang.String model()
Copyright © 2019 ELKI Development Team. License information.