Class TldFernFeature


public class TldFernFeature extends Object
Contains information on a fern feature value pair.
  • Field Details

    • value

      public int value
      Numerical value of this descriptor
    • numP

      public int numP
      Number of times P-constraint has been applied
    • numN

      public int numN
      Number of times N-constraint has been applied
    • posterior

      public double posterior
      Posterior probability. P/(P+N)
  • Constructor Details

    • TldFernFeature

      public TldFernFeature()
  • Method Details

    • init

      public void init(int value)
    • incrementP

      public void incrementP()
    • incrementN

      public void incrementN()
    • getPosterior

      public double getPosterior()
    • getValue

      public int getValue()