Enum Class PMMLTreeModel.NoTrueChildStrategy

java.lang.Object
java.lang.Enum<PMMLTreeModel.NoTrueChildStrategy>
com.pervasive.datarush.analytics.decisiontree.PMMLTreeModel.NoTrueChildStrategy
All Implemented Interfaces:
Serializable, Comparable<PMMLTreeModel.NoTrueChildStrategy>, java.lang.constant.Constable
Enclosing class:
PMMLTreeModel

public static enum PMMLTreeModel.NoTrueChildStrategy extends Enum<PMMLTreeModel.NoTrueChildStrategy>
Corresponds to the PMML NO-TRUE-CHILD-STRATEGY enumeration.
See Also:
  • Enum Constant Details

    • returnNullPrediction

      public static final PMMLTreeModel.NoTrueChildStrategy returnNullPrediction
      No prediction is returned (this is the default behaviour)
    • returnLastPrediction

      public static final PMMLTreeModel.NoTrueChildStrategy returnLastPrediction
      If the parent has a score attribute return the value of this attribute. Otherwise, no prediction is returned.
  • Method Details

    • values

      public static PMMLTreeModel.NoTrueChildStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PMMLTreeModel.NoTrueChildStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null