public enum MULTIPLE_MODEL_METHOD extends Enum<MULTIPLE_MODEL_METHOD>
| Enum Constant and Description |
|---|
AVERAGE |
MAJORITY_VOTE |
MAX |
MEDIAN |
MODEL_CHAIN |
SELECT_ALL |
SELECT_FIRST |
SUM |
WEIGHTED_AVERAGE |
WEIGHTED_MAJORITY_VOTE |
WEIGHTED_MEDIAN |
WEIGHTED_SUM |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(LinkedHashMap<String,KiePMMLNameValue> inputData)
Return the overall evaluation of the input data
The key of the map is the name of the (inner) model, the value is the result of the model
evaluation
|
static MULTIPLE_MODEL_METHOD |
byName(String name) |
String |
getName() |
static MULTIPLE_MODEL_METHOD |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MULTIPLE_MODEL_METHOD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MULTIPLE_MODEL_METHOD MAJORITY_VOTE
public static final MULTIPLE_MODEL_METHOD WEIGHTED_MAJORITY_VOTE
public static final MULTIPLE_MODEL_METHOD AVERAGE
public static final MULTIPLE_MODEL_METHOD WEIGHTED_AVERAGE
public static final MULTIPLE_MODEL_METHOD MEDIAN
public static final MULTIPLE_MODEL_METHOD WEIGHTED_MEDIAN
public static final MULTIPLE_MODEL_METHOD MAX
public static final MULTIPLE_MODEL_METHOD SUM
public static final MULTIPLE_MODEL_METHOD WEIGHTED_SUM
public static final MULTIPLE_MODEL_METHOD SELECT_FIRST
public static final MULTIPLE_MODEL_METHOD SELECT_ALL
public static final MULTIPLE_MODEL_METHOD MODEL_CHAIN
public static MULTIPLE_MODEL_METHOD[] values()
for (MULTIPLE_MODEL_METHOD c : MULTIPLE_MODEL_METHOD.values()) System.out.println(c);
public static MULTIPLE_MODEL_METHOD valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static MULTIPLE_MODEL_METHOD byName(String name)
public String getName()
public Object apply(LinkedHashMap<String,KiePMMLNameValue> inputData)
inputData - KieEnumExceptionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.