Module datarush.analytics
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 ConstantsEnum ConstantDescriptionIf 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 predictionComparisons 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 TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PMMLTreeModel.MissingValueStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
If a Node's predicate value evaluates to UNKNOWN while traversing the tree, abort the scoring process and give no prediction. -
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
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
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
Comparisons with missing values other than checks for missing values always evaluate to FALSE.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-