@Deprecated public abstract class ClassifierBuilder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ClassifierBuilder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Classifier<T,String> |
buildWithSourceType(Class<T> sourceCls)
Deprecated.
Create the
Classifier that is able to use sourceClss as input/source type and
String as default return type of the Classifier |
abstract <T,R> Classifier<T,R> |
buildWithSourceType(Class<T> sourceCls,
Class<R> returnCls)
Deprecated.
Create the
Classifier that is able to use sourceClss as input/source type and
returnCls as return type of the Classifier |
abstract ClassifierBuilder |
trainedModel(Object trainedModel)
Deprecated.
Set the trained model to be used during the image classification.
|
protected ClassifierBuilder()
public abstract ClassifierBuilder trainedModel(Object trainedModel)
trainedModel - the object of the trained model.public abstract <T,R> Classifier<T,R> buildWithSourceType(Class<T> sourceCls, Class<R> returnCls)
Classifier that is able to use sourceClss as input/source type and
returnCls as return type of the ClassifierT - source type class of the ClassifierR - return type class of the ClassifiersourceCls - Class object of the incoming input/source.returnCls - Class object of the return type of the ClassifierClassifier object.public final <T> Classifier<T,String> buildWithSourceType(Class<T> sourceCls)
Classifier that is able to use sourceClss as input/source type and
String as default return type of the ClassifierT - source type class of the ClassifiersourceCls - Class object of the incoming input/source.Classifier object.Copyright © 2020. All rights reserved.