weka.core.pmml.jaxbbindings.Regression Maven / Gradle / Ivy
Show all versions of weka-dev Show documentation
//
// 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Regression element declaration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="Regression">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Output" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}ModelStats" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Targets" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}LocalTransformations" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}ResultField" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}RegressionTable" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_1}MINING-FUNCTION" />
* <attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_1}REGRESSIONNORMALIZATIONMETHOD" default="none" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"extension",
"output",
"modelStats",
"targets",
"localTransformations",
"resultField",
"regressionTable"
})
@XmlRootElement(name = "Regression")
public class Regression {
@XmlElement(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List extension;
@XmlElement(name = "Output", namespace = "http://www.dmg.org/PMML-4_1")
protected Output output;
@XmlElement(name = "ModelStats", namespace = "http://www.dmg.org/PMML-4_1")
protected ModelStats modelStats;
@XmlElement(name = "Targets", namespace = "http://www.dmg.org/PMML-4_1")
protected Targets targets;
@XmlElement(name = "LocalTransformations", namespace = "http://www.dmg.org/PMML-4_1")
protected LocalTransformations localTransformations;
@XmlElement(name = "ResultField", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List resultField;
@XmlElement(name = "RegressionTable", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List regressionTable;
@XmlAttribute
protected String algorithmName;
@XmlAttribute(required = true)
protected MININGFUNCTION functionName;
@XmlAttribute
protected String modelName;
@XmlAttribute
protected REGRESSIONNORMALIZATIONMETHOD normalizationMethod;
/**
* Gets the value of the extension property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the extension property.
*
*
* For example, to add a new item, do as follows:
*
* getExtension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension }
*
*
*/
public List getExtension() {
if (extension == null) {
extension = new ArrayList();
}
return this.extension;
}
/**
* Gets the value of the output property.
*
* @return
* possible object is
* {@link Output }
*
*/
public Output getOutput() {
return output;
}
/**
* Sets the value of the output property.
*
* @param value
* allowed object is
* {@link Output }
*
*/
public void setOutput(Output value) {
this.output = value;
}
/**
* Gets the value of the modelStats property.
*
* @return
* possible object is
* {@link ModelStats }
*
*/
public ModelStats getModelStats() {
return modelStats;
}
/**
* Sets the value of the modelStats property.
*
* @param value
* allowed object is
* {@link ModelStats }
*
*/
public void setModelStats(ModelStats value) {
this.modelStats = value;
}
/**
* Gets the value of the targets property.
*
* @return
* possible object is
* {@link Targets }
*
*/
public Targets getTargets() {
return targets;
}
/**
* Sets the value of the targets property.
*
* @param value
* allowed object is
* {@link Targets }
*
*/
public void setTargets(Targets value) {
this.targets = value;
}
/**
* Gets the value of the localTransformations property.
*
* @return
* possible object is
* {@link LocalTransformations }
*
*/
public LocalTransformations getLocalTransformations() {
return localTransformations;
}
/**
* Sets the value of the localTransformations property.
*
* @param value
* allowed object is
* {@link LocalTransformations }
*
*/
public void setLocalTransformations(LocalTransformations value) {
this.localTransformations = value;
}
/**
* Gets the value of the resultField property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the resultField property.
*
*
* For example, to add a new item, do as follows:
*
* getResultField().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ResultField }
*
*
*/
public List getResultField() {
if (resultField == null) {
resultField = new ArrayList();
}
return this.resultField;
}
/**
* Gets the value of the regressionTable property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the regressionTable property.
*
*
* For example, to add a new item, do as follows:
*
* getRegressionTable().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RegressionTable }
*
*
*/
public List getRegressionTable() {
if (regressionTable == null) {
regressionTable = new ArrayList();
}
return this.regressionTable;
}
/**
* Gets the value of the algorithmName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlgorithmName() {
return algorithmName;
}
/**
* Sets the value of the algorithmName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlgorithmName(String value) {
this.algorithmName = value;
}
/**
* Gets the value of the functionName property.
*
* @return
* possible object is
* {@link MININGFUNCTION }
*
*/
public MININGFUNCTION getFunctionName() {
return functionName;
}
/**
* Sets the value of the functionName property.
*
* @param value
* allowed object is
* {@link MININGFUNCTION }
*
*/
public void setFunctionName(MININGFUNCTION value) {
this.functionName = value;
}
/**
* Gets the value of the modelName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getModelName() {
return modelName;
}
/**
* Sets the value of the modelName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setModelName(String value) {
this.modelName = value;
}
/**
* Gets the value of the normalizationMethod property.
*
* @return
* possible object is
* {@link REGRESSIONNORMALIZATIONMETHOD }
*
*/
public REGRESSIONNORMALIZATIONMETHOD getNormalizationMethod() {
if (normalizationMethod == null) {
return REGRESSIONNORMALIZATIONMETHOD.NONE;
} else {
return normalizationMethod;
}
}
/**
* Sets the value of the normalizationMethod property.
*
* @param value
* allowed object is
* {@link REGRESSIONNORMALIZATIONMETHOD }
*
*/
public void setNormalizationMethod(REGRESSIONNORMALIZATIONMETHOD value) {
this.normalizationMethod = value;
}
}