weka.core.pmml.jaxbbindings.ExponentialSmoothing 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;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for ExponentialSmoothing element declaration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="ExponentialSmoothing">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.dmg.org/PMML-4_1}Level"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Trend_ExpoSmooth" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Seasonality_ExpoSmooth" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}TimeValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="RMSE" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="transformation" default="none">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="none"/>
* <enumeration value="logarithmic"/>
* <enumeration value="squareroot"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"level",
"trendExpoSmooth",
"seasonalityExpoSmooth",
"timeValue"
})
@XmlRootElement(name = "ExponentialSmoothing")
public class ExponentialSmoothing {
@XmlElement(name = "Level", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected Level level;
@XmlElement(name = "Trend_ExpoSmooth", namespace = "http://www.dmg.org/PMML-4_1")
protected TrendExpoSmooth trendExpoSmooth;
@XmlElement(name = "Seasonality_ExpoSmooth", namespace = "http://www.dmg.org/PMML-4_1")
protected SeasonalityExpoSmooth seasonalityExpoSmooth;
@XmlElement(name = "TimeValue", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List timeValue;
@XmlAttribute(name = "RMSE")
protected Double rmse;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String transformation;
/**
* Gets the value of the level property.
*
* @return
* possible object is
* {@link Level }
*
*/
public Level getLevel() {
return level;
}
/**
* Sets the value of the level property.
*
* @param value
* allowed object is
* {@link Level }
*
*/
public void setLevel(Level value) {
this.level = value;
}
/**
* Gets the value of the trendExpoSmooth property.
*
* @return
* possible object is
* {@link TrendExpoSmooth }
*
*/
public TrendExpoSmooth getTrendExpoSmooth() {
return trendExpoSmooth;
}
/**
* Sets the value of the trendExpoSmooth property.
*
* @param value
* allowed object is
* {@link TrendExpoSmooth }
*
*/
public void setTrendExpoSmooth(TrendExpoSmooth value) {
this.trendExpoSmooth = value;
}
/**
* Gets the value of the seasonalityExpoSmooth property.
*
* @return
* possible object is
* {@link SeasonalityExpoSmooth }
*
*/
public SeasonalityExpoSmooth getSeasonalityExpoSmooth() {
return seasonalityExpoSmooth;
}
/**
* Sets the value of the seasonalityExpoSmooth property.
*
* @param value
* allowed object is
* {@link SeasonalityExpoSmooth }
*
*/
public void setSeasonalityExpoSmooth(SeasonalityExpoSmooth value) {
this.seasonalityExpoSmooth = value;
}
/**
* Gets the value of the timeValue 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 timeValue property.
*
*
* For example, to add a new item, do as follows:
*
* getTimeValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TimeValue }
*
*
*/
public List getTimeValue() {
if (timeValue == null) {
timeValue = new ArrayList();
}
return this.timeValue;
}
/**
* Gets the value of the rmse property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getRMSE() {
return rmse;
}
/**
* Sets the value of the rmse property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setRMSE(Double value) {
this.rmse = value;
}
/**
* Gets the value of the transformation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransformation() {
if (transformation == null) {
return "none";
} else {
return transformation;
}
}
/**
* Sets the value of the transformation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransformation(String value) {
this.transformation = value;
}
}