Package com.datarobot.prediction
Enum Explanation.ExplanationStrength
- java.lang.Object
-
- java.lang.Enum<Explanation.ExplanationStrength>
-
- com.datarobot.prediction.Explanation.ExplanationStrength
-
- All Implemented Interfaces:
Serializable,Comparable<Explanation.ExplanationStrength>
- Enclosing interface:
- Explanation
public static enum Explanation.ExplanationStrength extends Enum<Explanation.ExplanationStrength>
Explanation Strength.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MINUS_MEDIUMMINUS_SMALLMINUS_STRONGMINUS_ZEROPLUS_MEDIUMPLUS_SMALLPLUS_STRONGPLUS_ZERO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static Explanation.ExplanationStrengthvalueOf(String name)Returns the enum constant of this type with the specified name.static Explanation.ExplanationStrength[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUS_STRONG
public static final Explanation.ExplanationStrength PLUS_STRONG
-
PLUS_MEDIUM
public static final Explanation.ExplanationStrength PLUS_MEDIUM
-
PLUS_SMALL
public static final Explanation.ExplanationStrength PLUS_SMALL
-
PLUS_ZERO
public static final Explanation.ExplanationStrength PLUS_ZERO
-
MINUS_STRONG
public static final Explanation.ExplanationStrength MINUS_STRONG
-
MINUS_MEDIUM
public static final Explanation.ExplanationStrength MINUS_MEDIUM
-
MINUS_SMALL
public static final Explanation.ExplanationStrength MINUS_SMALL
-
MINUS_ZERO
public static final Explanation.ExplanationStrength MINUS_ZERO
-
-
Method Detail
-
values
public static Explanation.ExplanationStrength[] 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 (Explanation.ExplanationStrength c : Explanation.ExplanationStrength.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Explanation.ExplanationStrength 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<Explanation.ExplanationStrength>
-
-