CLASSIFIER_OUTPUT
ClassifierOutputStep
takes as input a numerical 2d NDArray (i.e., float/double etc. type) with shape [minibatch, numClasses] which represents the softmax predictions for a standard classifier and returns based on this array:
The predicted class label - as a String
The predicted class index - as an integer (long)
The predicted class probability - as a Double
Configs | Descriptions |
inputNames | Optional. If set: this represents the NDArray. If not set: use DataUtils.inferField to find an NDArray field. Default is |
returnLabel | Default is true; if false, don't return label. |
returnIndex | Default is true; if false, don't return index. |
returnProb | Default is true; if false, don't return probability. |
labelName | Output names for the labels. Default value is |
indexName | Output names for the index. Default value is |
probName | Output names for the labels probabilities. Default value is |
labels | As a List<String>. Optional. If not specified, the predicted class index as a string is used - i.e., |
topN | Integer, |
allProbabilities | If |
Last updated