public class ExponentialSmoothing extends PMMLObject implements com.sun.xml.bind.Locatable
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 Locator |
locator |
protected Double |
rmse |
protected SeasonalityExpoSmooth |
seasonalityExpoSmooth |
protected List<TimeValue> |
timeValues |
protected 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.
|
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.
|
String |
getTransformation()
Gets the value of the transformation property.
|
TrendExpoSmooth |
getTrendExpoSmooth()
Gets the value of the trendExpoSmooth property.
|
void |
setLevel(Level value)
Sets the value of the level property.
|
void |
setRMSE(Double value)
Sets the value of the rmse property.
|
void |
setSeasonalityExpoSmooth(SeasonalityExpoSmooth value)
Sets the value of the seasonalityExpoSmooth property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setTransformation(String value)
Sets the value of the transformation property.
|
void |
setTrendExpoSmooth(TrendExpoSmooth value)
Sets the value of the trendExpoSmooth property.
|
Locator |
sourceLocation() |
ExponentialSmoothing |
withLevel(Level value) |
ExponentialSmoothing |
withRMSE(Double value) |
ExponentialSmoothing |
withSeasonalityExpoSmooth(SeasonalityExpoSmooth value) |
ExponentialSmoothing |
withTimeValues(Collection<TimeValue> values) |
ExponentialSmoothing |
withTimeValues(TimeValue... values) |
ExponentialSmoothing |
withTransformation(String value) |
ExponentialSmoothing |
withTrendExpoSmooth(TrendExpoSmooth value) |
protected Level level
protected TrendExpoSmooth trendExpoSmooth
protected SeasonalityExpoSmooth seasonalityExpoSmooth
protected Double rmse
protected String transformation
protected Locator locator
public ExponentialSmoothing()
public ExponentialSmoothing(Level level)
public 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 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 Double getRMSE()
Doublepublic void setRMSE(Double value)
value - allowed object is
Doublepublic String getTransformation()
Stringpublic void setTransformation(String value)
value - allowed object is
Stringpublic ExponentialSmoothing withLevel(Level value)
public ExponentialSmoothing withTrendExpoSmooth(TrendExpoSmooth value)
public ExponentialSmoothing withSeasonalityExpoSmooth(SeasonalityExpoSmooth value)
public ExponentialSmoothing withTimeValues(TimeValue... values)
public ExponentialSmoothing withTimeValues(Collection<TimeValue> values)
public ExponentialSmoothing withRMSE(Double value)
public ExponentialSmoothing withTransformation(String value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.