public class RankClassificationResult extends Object implements Serializable
RankClassificationResult
is an abstraction over an activation matrix
for ranking classes.Constructor and Description |
---|
RankClassificationResult(org.nd4j.linalg.api.ndarray.INDArray outcome)
Takes in just a classification matrix
and initializes the labels to just be indices
|
RankClassificationResult(org.nd4j.linalg.api.ndarray.INDArray outcome,
List<String> labels)
Takes in a classification matrix
and the labels for each column
|
Modifier and Type | Method and Description |
---|---|
String |
maxOutcomeForRow(int r)
Get the max index for the given row
|
List<String> |
maxOutcomes() |
Copyright © 2017. All rights reserved.