public interface Labels
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.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.
|
java.lang.String |
getLabel(int n)
Returns the description of the nth class from the classes of a dataset.
|
java.lang.String getLabel(int n)
n
- java.util.List<java.util.List<ClassPrediction>> decodePredictions(INDArray predictions, int n)
predictions
- raw