weka.core.pmml.jaxbbindings.LINKFUNCTION 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 LINK-FUNCTION.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="LINK-FUNCTION">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="cloglog"/>
* <enumeration value="identity"/>
* <enumeration value="log"/>
* <enumeration value="logc"/>
* <enumeration value="logit"/>
* <enumeration value="loglog"/>
* <enumeration value="negbin"/>
* <enumeration value="oddspower"/>
* <enumeration value="power"/>
* <enumeration value="probit"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum LINKFUNCTION {
@XmlEnumValue("cloglog")
CLOGLOG("cloglog"),
@XmlEnumValue("identity")
IDENTITY("identity"),
@XmlEnumValue("log")
LOG("log"),
@XmlEnumValue("logc")
LOGC("logc"),
@XmlEnumValue("logit")
LOGIT("logit"),
@XmlEnumValue("loglog")
LOGLOG("loglog"),
@XmlEnumValue("negbin")
NEGBIN("negbin"),
@XmlEnumValue("oddspower")
ODDSPOWER("oddspower"),
@XmlEnumValue("power")
POWER("power"),
@XmlEnumValue("probit")
PROBIT("probit");
private final String value;
LINKFUNCTION(String v) {
value = v;
}
public String value() {
return value;
}
public static LINKFUNCTION fromValue(String v) {
for (LINKFUNCTION c: LINKFUNCTION.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}