public class ExponentialSmoothing extends TimeSeriesAlgorithm
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_3}Level"/>
<element ref="{http://www.dmg.org/PMML-4_3}Trend_ExpoSmooth" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Seasonality_ExpoSmooth" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}TimeValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="RMSE" type="{http://www.dmg.org/PMML-4_3}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 | Class and Description |
|---|---|
static class |
ExponentialSmoothing.Transformation
Java class for null.
|
| Constructor and Description |
|---|
ExponentialSmoothing() |
ExponentialSmoothing(Level level) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
ExponentialSmoothing |
addTimeValues(TimeValue... timeValues) |
Level |
getLevel()
Gets the value of the level property.
|
Double |
getRMSE()
Gets the value of the rmse property.
|
SeasonalityExpoSmooth |
getSeasonalityExpoSmooth()
Gets the value of the seasonalityExpoSmooth property.
|
List<TimeValue> |
getTimeValues()
Gets the value of the timeValues property.
|
ExponentialSmoothing.Transformation |
getTransformation()
Gets the value of the transformation property.
|
TrendExpoSmooth |
getTrendExpoSmooth()
Gets the value of the trendExpoSmooth property.
|
boolean |
hasTimeValues() |
ExponentialSmoothing |
setLevel(Level level)
Sets the value of the level property.
|
ExponentialSmoothing |
setRMSE(Double rmse)
Sets the value of the rmse property.
|
ExponentialSmoothing |
setSeasonalityExpoSmooth(SeasonalityExpoSmooth seasonalityExpoSmooth)
Sets the value of the seasonalityExpoSmooth property.
|
ExponentialSmoothing |
setTransformation(ExponentialSmoothing.Transformation transformation)
Sets the value of the transformation property.
|
ExponentialSmoothing |
setTrendExpoSmooth(TrendExpoSmooth trendExpoSmooth)
Sets the value of the trendExpoSmooth property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic ExponentialSmoothing()
public ExponentialSmoothing(Level level)
public Double getRMSE()
Doublepublic ExponentialSmoothing setRMSE(Double rmse)
rmse - allowed object is
Doublepublic ExponentialSmoothing.Transformation getTransformation()
ExponentialSmoothing.Transformationpublic ExponentialSmoothing setTransformation(ExponentialSmoothing.Transformation transformation)
transformation - allowed object is
ExponentialSmoothing.Transformationpublic Level getLevel()
Levelpublic ExponentialSmoothing setLevel(Level level)
level - allowed object is
Levelpublic TrendExpoSmooth getTrendExpoSmooth()
TrendExpoSmoothpublic ExponentialSmoothing setTrendExpoSmooth(TrendExpoSmooth trendExpoSmooth)
trendExpoSmooth - allowed object is
TrendExpoSmoothpublic SeasonalityExpoSmooth getSeasonalityExpoSmooth()
SeasonalityExpoSmoothpublic ExponentialSmoothing setSeasonalityExpoSmooth(SeasonalityExpoSmooth seasonalityExpoSmooth)
seasonalityExpoSmooth - allowed object is
SeasonalityExpoSmoothpublic 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 boolean hasTimeValues()
public ExponentialSmoothing addTimeValues(TimeValue... timeValues)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.