Class InstanceWithConfidence

  • All Implemented Interfaces:
    java.lang.Comparable

    public class InstanceWithConfidence
    extends java.lang.Object
    implements java.lang.Comparable
    Helper class to store confidence of an Instance.
    • Constructor Detail

      • InstanceWithConfidence

        public InstanceWithConfidence​(Instance inst,
                                      double c,
                                      Sequence predicted)
      • InstanceWithConfidence

        public InstanceWithConfidence​(Instance inst,
                                      double c,
                                      boolean correct)
    • Method Detail

      • compareTo

        public int compareTo​(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable
      • getConfidence

        public double getConfidence()
      • getInstance

        public Instance getInstance()
      • correct

        public boolean correct()