weka.core.pmml.jaxbbindings.CUMULATIVELINKFUNCTION Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weka-stable Show documentation
Show all versions of weka-stable Show documentation
The Waikato Environment for Knowledge Analysis (WEKA), a machine
learning workbench. This is the stable version. Apart from bugfixes, this version
does not receive any other updates.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.20 at 12:48:21 PM GMT
//
package weka.core.pmml.jaxbbindings;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* Java class for CUMULATIVE-LINK-FUNCTION.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CUMULATIVE-LINK-FUNCTION">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="logit"/>
* <enumeration value="probit"/>
* <enumeration value="cloglog"/>
* <enumeration value="loglog"/>
* <enumeration value="cauchit"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum CUMULATIVELINKFUNCTION {
@XmlEnumValue("cauchit")
CAUCHIT("cauchit"),
@XmlEnumValue("cloglog")
CLOGLOG("cloglog"),
@XmlEnumValue("logit")
LOGIT("logit"),
@XmlEnumValue("loglog")
LOGLOG("loglog"),
@XmlEnumValue("probit")
PROBIT("probit");
private final String value;
CUMULATIVELINKFUNCTION(String v) {
value = v;
}
public String value() {
return value;
}
public static CUMULATIVELINKFUNCTION fromValue(String v) {
for (CUMULATIVELINKFUNCTION c: CUMULATIVELINKFUNCTION.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}