Class OneLabelGEConstraints.OneLabelGEConstraint

    • Field Detail

      • target

        protected double[] target
      • expectation

        protected double[] expectation
      • count

        protected double count
      • weight

        protected double weight
    • Constructor Detail

      • OneLabelGEConstraint

        public OneLabelGEConstraint​(double[] target,
                                    double weight)
    • Method Detail

      • getCount

        public double getCount()
      • getTarget

        public double[] getTarget()
      • getExpectation

        public double[] getExpectation()
      • getWeight

        public double getWeight()
      • getValue

        public abstract double getValue​(int li)