T - type of input objects to classify (eg. User, Product, Transaction, Image, etc.)R - type of classification result.@FunctionalInterface public interface Classifier<T,R>
BinaryClassifier,
MultiClassClassifier,
ImageClassifier| Modifier and Type | Method and Description |
|---|---|
R |
classify(T input)
Classifies specified instance of type T and returns classification results of type R.
|
R classify(T input) throws ClassificationException
input - some instance to classifyClassificationExceptionCopyright © 2020. All rights reserved.