TextClassification
TextClassification copied to clipboard
getBestLabel(double[] scores)
The method getBestLabel(double[] scores) in TextClassifier.java will not work correctly for a list of scores with all negative values and in this case will always give the first entry as the correct label.
This is fixed on EC2.