Enum DecisionPostProcessingMethod
- java.lang.Object
-
- java.lang.Enum<DecisionPostProcessingMethod>
-
- com.bayesserver.learning.parameters.DecisionPostProcessingMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<DecisionPostProcessingMethod>
public enum DecisionPostProcessingMethod extends Enum<DecisionPostProcessingMethod>
The type of post processing to be applied to the distributions of decision nodes at the end of parameter learning.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_APPLICABLE
There are no decision nodes in the network.PROBABILITIES
The distributions learned from the data are left intact and not overridden.UNIFORM
The distribution of each decision node is overwritten with a uniform distribution, but only once learning is complete.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DecisionPostProcessingMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static DecisionPostProcessingMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_APPLICABLE
public static final DecisionPostProcessingMethod NOT_APPLICABLE
There are no decision nodes in the network.
-
UNIFORM
public static final DecisionPostProcessingMethod UNIFORM
The distribution of each decision node is overwritten with a uniform distribution, but only once learning is complete. This option does not penalize a decision if it did not frequently occur in the training data.
-
PROBABILITIES
public static final DecisionPostProcessingMethod PROBABILITIES
The distributions learned from the data are left intact and not overridden. This option penalizes decisions based on their occurrence in the training data.
-
-
Method Detail
-
values
public static DecisionPostProcessingMethod[] 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 (DecisionPostProcessingMethod c : DecisionPostProcessingMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DecisionPostProcessingMethod 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
-
-