
O - the type of DatabaseObjects 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.
|
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 classifyString model()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.