weka.core.pmml.jaxbbindings.SVMREPRESENTATION 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 SVM-REPRESENTATION.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="SVM-REPRESENTATION">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SupportVectors"/>
* <enumeration value="Coefficients"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum SVMREPRESENTATION {
@XmlEnumValue("Coefficients")
COEFFICIENTS("Coefficients"),
@XmlEnumValue("SupportVectors")
SUPPORT_VECTORS("SupportVectors");
private final String value;
SVMREPRESENTATION(String v) {
value = v;
}
public String value() {
return value;
}
public static SVMREPRESENTATION fromValue(String v) {
for (SVMREPRESENTATION c: SVMREPRESENTATION.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}