Enum Class PMMLTreeModel.MissingValueStrategy

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

public static enum PMMLTreeModel.MissingValueStrategy extends Enum<PMMLTreeModel.MissingValueStrategy>
Corresponds to the PMML MISSING-VALUE-STRATEGY enumeration.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    If a Node's predicate value evaluates to UNKNOWN while traversing the tree, we consider evaluation of the Node's predicate being TRUE and follow this Node.
    If a Node's predicate value evaluates to UNKNOWN while traversing the tree, evaluate the attribute defaultChild which gives the child to continue traversing with.
    If a Node's predicate evaluates to UNKNOWN while traversing the tree, evaluation is stopped and the current winner is returned as the final prediction
    Comparisons with missing values other than checks for missing values always evaluate to FALSE.
    If a Node's predicate value evaluates to UNKNOWN while traversing the tree, abort the scoring process and give no prediction.
    If a Node's predicate value evaluates to UNKNOWN while traversing the tree, the confidences for each class is calculated from scoring it and each of its sibling Nodes in turn (excluding any siblings whose predicates evaluate to FALSE).
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • lastPrediction

      public static final PMMLTreeModel.MissingValueStrategy lastPrediction
      If a Node's predicate evaluates to UNKNOWN while traversing the tree, evaluation is stopped and the current winner is returned as the final prediction
    • nullPrediction

      public static final PMMLTreeModel.MissingValueStrategy nullPrediction
      If a Node's predicate value evaluates to UNKNOWN while traversing the tree, abort the scoring process and give no prediction.
    • defaultChild

      public static final PMMLTreeModel.MissingValueStrategy defaultChild
      If a Node's predicate value evaluates to UNKNOWN while traversing the tree, evaluate the attribute defaultChild which gives the child to continue traversing with.
    • weightedConfidence

      public static final PMMLTreeModel.MissingValueStrategy weightedConfidence
      If a Node's predicate value evaluates to UNKNOWN while traversing the tree, the confidences for each class is calculated from scoring it and each of its sibling Nodes in turn (excluding any siblings whose predicates evaluate to FALSE).
    • aggregateNodes

      public static final PMMLTreeModel.MissingValueStrategy aggregateNodes
      If a Node's predicate value evaluates to UNKNOWN while traversing the tree, we consider evaluation of the Node's predicate being TRUE and follow this Node.
    • none

      public static final PMMLTreeModel.MissingValueStrategy none
      Comparisons with missing values other than checks for missing values always evaluate to FALSE.
  • Method Details

    • values

      public static PMMLTreeModel.MissingValueStrategy[] 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.MissingValueStrategy 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