Searched refs:sortedLabels (Results 1 – 5 of 5) sorted by relevance
59 private PriorityQueue<Map.Entry<Integer, Float>> sortedLabels = field in OvicClassifier182 sortedLabels.add(new AbstractMap.SimpleEntry<>(i, labelProbArray[0][i])); in computeTopKLabels()183 if (sortedLabels.size() > RESULTS_TO_SHOW) { in computeTopKLabels()184 sortedLabels.poll(); in computeTopKLabels()188 if (sortedLabels.size() != RESULTS_TO_SHOW) { in computeTopKLabels()191 + sortedLabels.size() in computeTopKLabels()197 Map.Entry<Integer, Float> label = sortedLabels.poll(); in computeTopKLabels()
87 private PriorityQueue<Map.Entry<String, Float>> sortedLabels = field in ImageClassifier248 sortedLabels.add( in printTopKLabels()250 if (sortedLabels.size() > RESULTS_TO_SHOW) { in printTopKLabels()251 sortedLabels.poll(); in printTopKLabels()255 final int size = sortedLabels.size(); in printTopKLabels()257 Map.Entry<String, Float> label = sortedLabels.poll(); in printTopKLabels()
584 … ArrayList<LabelMethodItem> sortedLabels = new ArrayList<LabelMethodItem>(labelCache.getLabels()); in setLabelSequentialNumbers() local587 Collections.sort(sortedLabels); in setLabelSequentialNumbers()589 for (LabelMethodItem labelMethodItem: sortedLabels) { in setLabelSequentialNumbers()
482 NSArray *sortedLabels = [candidateLabels500 for (NSDictionary *entry in sortedLabels) {
509 NSArray* sortedLabels =527 for (NSDictionary* entry in sortedLabels) {