public final class ClassifierFactoryService extends Object
Classifier implementation.| Modifier and Type | Method and Description |
|---|---|
<T> BinaryClassifier<T> |
createNeuralNetBinaryClassifier(NeuralNetBinaryClassifier.BuildingBlock<T> block)
Creates a new
BinaryClassifier by providing the NeuralNetBinaryClassifier.BuildingBlock to tune
the implementation's binary classifier. |
<T> ImageClassifier<T> |
createNeuralNetImageClassifier(NeuralNetImageClassifier.BuildingBlock<T> block)
Creates a new
ImageClassifier by providing the NeuralNetImageClassifier.BuildingBlock to tune
the implementation's image classifier. |
public <T> ImageClassifier<T> createNeuralNetImageClassifier(NeuralNetImageClassifier.BuildingBlock<T> block) throws ClassifierCreationException
ImageClassifier by providing the NeuralNetImageClassifier.BuildingBlock to tune
the implementation's image classifier.block - NeuralNetImageClassifier.BuildingBlock is provided to tune the building of the image classifier.ImageClassifierClassifierCreationException - if the classifier can not be created due to any reason.public <T> BinaryClassifier<T> createNeuralNetBinaryClassifier(NeuralNetBinaryClassifier.BuildingBlock<T> block) throws ClassifierCreationException
BinaryClassifier by providing the NeuralNetBinaryClassifier.BuildingBlock to tune
the implementation's binary classifier.block - NeuralNetBinaryClassifier.BuildingBlock is provided to tune the building of the binary classifier.BinaryClassifierClassifierCreationException - if the classifier can not be created due to any reason.Copyright © 2020. All rights reserved.