Class ImageClassifier.Score

Enclosing interface:
ImageClassifier<T extends ImageBase<T>>

public static class ImageClassifier.Score
extends Object
Provides information on the score for a specific category when multiple results are requested
  • Field Summary

    Modifier and Type Field Description
    int category
    The category
    double score
    The score associated with a particular category.
  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    void set​(double score, int category)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • score

      public double score
      The score associated with a particular category. Score's meaning is implementation dependent.
    • category

      public int category
      The category
  • Constructor Details

    • Score

      public Score()
  • Method Details

    • set

      public void set​(double score, int category)