Class WeightCountTuple

java.lang.Object
org.tribuo.util.infotheory.impl.WeightCountTuple

public final class WeightCountTuple extends Object
An mutable tuple of a double and a long.
  • Field Details

    • weight

      public double weight
    • count

      public long count
  • Constructor Details

    • WeightCountTuple

      public WeightCountTuple()
    • WeightCountTuple

      public WeightCountTuple(double weight, long count)
  • Method Details