Added method getBestLabels to retrieve the top labels given a ratio of the top score