org.dmg.pmml.OutlierTreatmentMethod Maven / Gradle / Ivy
package org.dmg.pmml;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for OUTLIER-TREATMENT-METHOD.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="OUTLIER-TREATMENT-METHOD">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="asIs"/>
* <enumeration value="asMissingValues"/>
* <enumeration value="asExtremeValues"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "OUTLIER-TREATMENT-METHOD", namespace = "http://www.dmg.org/PMML-4_3")
@XmlEnum
public enum OutlierTreatmentMethod {
@XmlEnumValue("asIs")
AS_IS("asIs"),
@XmlEnumValue("asMissingValues")
AS_MISSING_VALUES("asMissingValues"),
@XmlEnumValue("asExtremeValues")
AS_EXTREME_VALUES("asExtremeValues");
private final String value;
OutlierTreatmentMethod(String v) {
value = v;
}
public String value() {
return value;
}
public static OutlierTreatmentMethod fromValue(String v) {
for (OutlierTreatmentMethod c: OutlierTreatmentMethod.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy