public interface Labels
Modifier and Type | Method and Description |
---|---|
List<List<ClassPrediction>> |
decodePredictions(INDArray predictions,
int n)
Given predictions from the trained model this method will return a list
of the top n matches and the respective probabilities.
|
String |
getLabel(int n)
Returns the description of the nth class from the classes of a dataset.
|
String getLabel(int n)
n
- List<List<ClassPrediction>> decodePredictions(INDArray predictions, int n)
predictions
- rawCopyright © 2018. All rights reserved.