Klasse ComparablePredicate

java.lang.Object
opennlp.tools.ml.model.ComparablePredicate
Alle implementierten Schnittstellen:
Comparable<ComparablePredicate>

public class ComparablePredicate extends Object implements Comparable<ComparablePredicate>
A maxent predicate representation which we can use to sort based on the outcomes. This allows us to make the mapping of features to their parameters much more compact.
  • Felddetails

    • name

      public final String name
    • outcomes

      public final int[] outcomes
    • params

      public final double[] params
  • Konstruktordetails

    • ComparablePredicate

      public ComparablePredicate(String n, int[] ocs, double[] ps)
  • Methodendetails