Module datarush.analytics
Enum AbstractPMMLRegressionModel.NormalizationMethod
- java.lang.Object
-
- java.lang.Enum<AbstractPMMLRegressionModel.NormalizationMethod>
-
- com.pervasive.datarush.analytics.regression.AbstractPMMLRegressionModel.NormalizationMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractPMMLRegressionModel.NormalizationMethod>
- Enclosing class:
- AbstractPMMLRegressionModel
public static enum AbstractPMMLRegressionModel.NormalizationMethod extends Enum<AbstractPMMLRegressionModel.NormalizationMethod>
The normalization methods used.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
normalize(double value)
static AbstractPMMLRegressionModel.NormalizationMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractPMMLRegressionModel.NormalizationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final AbstractPMMLRegressionModel.NormalizationMethod none
No normalization is used.
-
logit
public static final AbstractPMMLRegressionModel.NormalizationMethod logit
Normalization through the logit function.
-
-
Method Detail
-
values
public static AbstractPMMLRegressionModel.NormalizationMethod[] 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 (AbstractPMMLRegressionModel.NormalizationMethod c : AbstractPMMLRegressionModel.NormalizationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractPMMLRegressionModel.NormalizationMethod 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
-
normalize
public double normalize(double value)
-
-