T - The input type which is to be classified.R - Return type of the classifier.public final class EnsambleClassifier<T,R> extends Object implements Classifier<T,R>
| Constructor and Description |
|---|
EnsambleClassifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassifier(String classifierId,
Classifier<T,R> classifier) |
R |
classify(T input)
Classifies specified instance of type T and returns classification results of type R.
|
Classifier |
getClassifier(String classiferId) |
void |
remove(String classifierId) |
public EnsambleClassifier()
public R classify(T input) throws ClassificationException
Classifierclassify in interface Classifier<T,R>input - some instance to classifyClassificationExceptionpublic void addClassifier(String classifierId, Classifier<T,R> classifier)
public Classifier getClassifier(String classiferId)
Copyright © 2020. All rights reserved.