All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dmg.pmml.MissingValueTreatmentMethod 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 MISSING-VALUE-TREATMENT-METHOD. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="MISSING-VALUE-TREATMENT-METHOD">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="asIs"/>
 *     <enumeration value="asMean"/>
 *     <enumeration value="asMode"/>
 *     <enumeration value="asMedian"/>
 *     <enumeration value="asValue"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "MISSING-VALUE-TREATMENT-METHOD", namespace = "http://www.dmg.org/PMML-4_3") @XmlEnum public enum MissingValueTreatmentMethod { @XmlEnumValue("asIs") AS_IS("asIs"), @XmlEnumValue("asMean") AS_MEAN("asMean"), @XmlEnumValue("asMode") AS_MODE("asMode"), @XmlEnumValue("asMedian") AS_MEDIAN("asMedian"), @XmlEnumValue("asValue") AS_VALUE("asValue"); private final String value; MissingValueTreatmentMethod(String v) { value = v; } public String value() { return value; } public static MissingValueTreatmentMethod fromValue(String v) { for (MissingValueTreatmentMethod c: MissingValueTreatmentMethod.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy