Module datarush.analytics
Enum PMMLTreeModel.NoTrueChildStrategy
- java.lang.Object
-
- java.lang.Enum<PMMLTreeModel.NoTrueChildStrategy>
-
- com.pervasive.datarush.analytics.decisiontree.PMMLTreeModel.NoTrueChildStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<PMMLTreeModel.NoTrueChildStrategy>
- Enclosing class:
- PMMLTreeModel
public static enum PMMLTreeModel.NoTrueChildStrategy extends Enum<PMMLTreeModel.NoTrueChildStrategy>
Corresponds to the PMMLNO-TRUE-CHILD-STRATEGY
enumeration.- See Also:
- TreeModel no true child strategies
-
-
Enum Constant Summary
Enum Constants Enum Constant Description returnLastPrediction
If the parent has a score attribute return the value of this attribute.returnNullPrediction
No prediction is returned (this is the default behaviour)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PMMLTreeModel.NoTrueChildStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static PMMLTreeModel.NoTrueChildStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static PMMLTreeModel.NoTrueChildStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PMMLTreeModel.NoTrueChildStrategy c : PMMLTreeModel.NoTrueChildStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PMMLTreeModel.NoTrueChildStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-