public class ExponentialSmoothing extends PMMLObject
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Level"/>
<element ref="{http://www.dmg.org/PMML-4_2}Trend_ExpoSmooth" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Seasonality_ExpoSmooth" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}TimeValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="RMSE" type="{http://www.dmg.org/PMML-4_2}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>
| Modifier and Type | Field and Description |
|---|---|
protected Level |
level |
protected java.lang.Double |
rmse |
protected SeasonalityExpoSmooth |
seasonalityExpoSmooth |
protected java.util.List<TimeValue> |
timeValues |
protected java.lang.String |
transformation |
protected TrendExpoSmooth |
trendExpoSmooth |
| Constructor and Description |
|---|
ExponentialSmoothing() |
ExponentialSmoothing(Level level) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Level |
getLevel()
Gets the value of the level property.
|
java.lang.Double |
getRMSE()
Gets the value of the rmse property.
|
SeasonalityExpoSmooth |
getSeasonalityExpoSmooth()
Gets the value of the seasonalityExpoSmooth property.
|
java.util.List<TimeValue> |
getTimeValues()
Gets the value of the timeValues property.
|
java.lang.String |
getTransformation()
Gets the value of the transformation property.
|
TrendExpoSmooth |
getTrendExpoSmooth()
Gets the value of the trendExpoSmooth property.
|
boolean |
hasTimeValues() |
void |
setLevel(Level value)
Sets the value of the level property.
|
void |
setRMSE(java.lang.Double value)
Sets the value of the rmse property.
|
void |
setSeasonalityExpoSmooth(SeasonalityExpoSmooth value)
Sets the value of the seasonalityExpoSmooth property.
|
void |
setTransformation(java.lang.String value)
Sets the value of the transformation property.
|
void |
setTrendExpoSmooth(TrendExpoSmooth value)
Sets the value of the trendExpoSmooth property.
|
ExponentialSmoothing |
withLevel(Level value) |
ExponentialSmoothing |
withRMSE(java.lang.Double value) |
ExponentialSmoothing |
withSeasonalityExpoSmooth(SeasonalityExpoSmooth value) |
ExponentialSmoothing |
withTimeValues(java.util.Collection<TimeValue> values) |
ExponentialSmoothing |
withTimeValues(TimeValue... values) |
ExponentialSmoothing |
withTransformation(java.lang.String value) |
ExponentialSmoothing |
withTrendExpoSmooth(TrendExpoSmooth value) |
getLocator, setLocatorprotected java.lang.Double rmse
protected java.lang.String transformation
protected Level level
protected TrendExpoSmooth trendExpoSmooth
protected SeasonalityExpoSmooth seasonalityExpoSmooth
protected java.util.List<TimeValue> timeValues
public ExponentialSmoothing()
public ExponentialSmoothing(Level level)
public java.lang.Double getRMSE()
Doublepublic void setRMSE(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.String getTransformation()
Stringpublic void setTransformation(java.lang.String value)
value - allowed object is
Stringpublic Level getLevel()
Levelpublic void setLevel(Level value)
value - allowed object is
Levelpublic TrendExpoSmooth getTrendExpoSmooth()
TrendExpoSmoothpublic void setTrendExpoSmooth(TrendExpoSmooth value)
value - allowed object is
TrendExpoSmoothpublic SeasonalityExpoSmooth getSeasonalityExpoSmooth()
SeasonalityExpoSmoothpublic void setSeasonalityExpoSmooth(SeasonalityExpoSmooth value)
value - allowed object is
SeasonalityExpoSmoothpublic java.util.List<TimeValue> getTimeValues()
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 timeValues property.
For example, to add a new item, do as follows:
getTimeValues().add(newItem);
Objects of the following type(s) are allowed in the list
TimeValue
public ExponentialSmoothing withRMSE(java.lang.Double value)
public ExponentialSmoothing withTransformation(java.lang.String value)
public ExponentialSmoothing withLevel(Level value)
public ExponentialSmoothing withTrendExpoSmooth(TrendExpoSmooth value)
public ExponentialSmoothing withSeasonalityExpoSmooth(SeasonalityExpoSmooth value)
public ExponentialSmoothing withTimeValues(TimeValue... values)
public ExponentialSmoothing withTimeValues(java.util.Collection<TimeValue> values)
public boolean hasTimeValues()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.