public class TimeSeriesModel extends Model implements HasExtensions
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}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_2}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}TimeSeries" maxOccurs="3" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}SpectralAnalysis" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ARIMA" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ExponentialSmoothing" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}SeasonalTrendDecomposition" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelVerification" minOccurs="0"/>
</sequence>
<attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_2}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="bestFit" use="required" type="{http://www.dmg.org/PMML-4_2}TIMESERIES-ALGORITHM" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
algorithmName |
protected ARIMA |
arima |
protected TimeSeriesAlgorithmType |
bestFit |
protected ExponentialSmoothing |
exponentialSmoothing |
protected List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected LocalTransformations |
localTransformations |
protected MiningSchema |
miningSchema |
protected ModelExplanation |
modelExplanation |
protected String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected Output |
output |
protected Boolean |
scorable |
protected SeasonalTrendDecomposition |
seasonalTrendDecomposition |
protected SpectralAnalysis |
spectralAnalysis |
protected List<TimeSeries> |
timeSeries |
| Constructor and Description |
|---|
TimeSeriesModel() |
TimeSeriesModel(MiningFunctionType functionName,
TimeSeriesAlgorithmType bestFit,
MiningSchema miningSchema) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
ARIMA |
getARIMA()
Gets the value of the arima property.
|
TimeSeriesAlgorithmType |
getBestFit()
Gets the value of the bestFit property.
|
ExponentialSmoothing |
getExponentialSmoothing()
Gets the value of the exponentialSmoothing property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
MiningSchema |
getMiningSchema()
Gets the value of the miningSchema property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification property.
|
Output |
getOutput()
Gets the value of the output property.
|
SeasonalTrendDecomposition |
getSeasonalTrendDecomposition()
Gets the value of the seasonalTrendDecomposition property.
|
SpectralAnalysis |
getSpectralAnalysis()
Gets the value of the spectralAnalysis property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
List<TimeSeries> |
getTimeSeries()
Gets the value of the timeSeries property.
|
boolean |
hasExtensions() |
boolean |
hasTimeSeries() |
boolean |
isScorable()
Gets the value of the scorable property.
|
void |
setAlgorithmName(String value)
Sets the value of the algorithmName property.
|
void |
setARIMA(ARIMA value)
Sets the value of the arima property.
|
void |
setBestFit(TimeSeriesAlgorithmType value)
Sets the value of the bestFit property.
|
void |
setExponentialSmoothing(ExponentialSmoothing value)
Sets the value of the exponentialSmoothing property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema property.
|
void |
setModelExplanation(ModelExplanation value)
Sets the value of the modelExplanation property.
|
void |
setModelName(String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setModelVerification(ModelVerification value)
Sets the value of the modelVerification property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setScorable(Boolean value)
Sets the value of the scorable property.
|
void |
setSeasonalTrendDecomposition(SeasonalTrendDecomposition value)
Sets the value of the seasonalTrendDecomposition property.
|
void |
setSpectralAnalysis(SpectralAnalysis value)
Sets the value of the spectralAnalysis property.
|
void |
setTargets(Targets targets)
Sets the value of the targets property.
|
TimeSeriesModel |
withAlgorithmName(String value) |
TimeSeriesModel |
withARIMA(ARIMA value) |
TimeSeriesModel |
withBestFit(TimeSeriesAlgorithmType value) |
TimeSeriesModel |
withExponentialSmoothing(ExponentialSmoothing value) |
TimeSeriesModel |
withExtensions(Collection<Extension> values) |
TimeSeriesModel |
withExtensions(Extension... values) |
TimeSeriesModel |
withFunctionName(MiningFunctionType value) |
TimeSeriesModel |
withLocalTransformations(LocalTransformations value) |
TimeSeriesModel |
withMiningSchema(MiningSchema value) |
TimeSeriesModel |
withModelExplanation(ModelExplanation value) |
TimeSeriesModel |
withModelName(String value) |
TimeSeriesModel |
withModelStats(ModelStats value) |
TimeSeriesModel |
withModelVerification(ModelVerification value) |
TimeSeriesModel |
withOutput(Output value) |
TimeSeriesModel |
withScorable(Boolean value) |
TimeSeriesModel |
withSeasonalTrendDecomposition(SeasonalTrendDecomposition value) |
TimeSeriesModel |
withSpectralAnalysis(SpectralAnalysis value) |
TimeSeriesModel |
withTimeSeries(Collection<TimeSeries> values) |
TimeSeriesModel |
withTimeSeries(TimeSeries... values) |
getLocator, setLocatorprotected String modelName
protected MiningFunctionType functionName
protected String algorithmName
protected TimeSeriesAlgorithmType bestFit
protected Boolean scorable
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected ModelExplanation modelExplanation
protected LocalTransformations localTransformations
protected List<TimeSeries> timeSeries
protected SpectralAnalysis spectralAnalysis
protected ARIMA arima
protected ExponentialSmoothing exponentialSmoothing
protected SeasonalTrendDecomposition seasonalTrendDecomposition
protected ModelVerification modelVerification
public TimeSeriesModel()
public TimeSeriesModel(MiningFunctionType functionName, TimeSeriesAlgorithmType bestFit, MiningSchema miningSchema)
public String getModelName()
getModelName in class ModelStringpublic void setModelName(String value)
setModelName in class Modelvalue - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class Modelvalue - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic void setAlgorithmName(String value)
setAlgorithmName in class Modelvalue - allowed object is
Stringpublic TimeSeriesAlgorithmType getBestFit()
TimeSeriesAlgorithmTypepublic void setBestFit(TimeSeriesAlgorithmType value)
value - allowed object is
TimeSeriesAlgorithmTypepublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic List<Extension> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic void setMiningSchema(MiningSchema value)
setMiningSchema in class Modelvalue - allowed object is
MiningSchemapublic Output getOutput()
public void setOutput(Output value)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class Modelvalue - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic void setModelExplanation(ModelExplanation value)
setModelExplanation in class Modelvalue - allowed object is
ModelExplanationpublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class Modelvalue - allowed object is
LocalTransformationspublic List<TimeSeries> getTimeSeries()
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 timeSeries property.
For example, to add a new item, do as follows:
getTimeSeries().add(newItem);
Objects of the following type(s) are allowed in the list
TimeSeries
public SpectralAnalysis getSpectralAnalysis()
SpectralAnalysispublic void setSpectralAnalysis(SpectralAnalysis value)
value - allowed object is
SpectralAnalysispublic ARIMA getARIMA()
ARIMApublic void setARIMA(ARIMA value)
value - allowed object is
ARIMApublic ExponentialSmoothing getExponentialSmoothing()
ExponentialSmoothingpublic void setExponentialSmoothing(ExponentialSmoothing value)
value - allowed object is
ExponentialSmoothingpublic SeasonalTrendDecomposition getSeasonalTrendDecomposition()
SeasonalTrendDecompositionpublic void setSeasonalTrendDecomposition(SeasonalTrendDecomposition value)
value - allowed object is
SeasonalTrendDecompositionpublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic void setModelVerification(ModelVerification value)
setModelVerification in class Modelvalue - allowed object is
ModelVerificationpublic TimeSeriesModel withModelName(String value)
public TimeSeriesModel withFunctionName(MiningFunctionType value)
public TimeSeriesModel withAlgorithmName(String value)
public TimeSeriesModel withBestFit(TimeSeriesAlgorithmType value)
public TimeSeriesModel withScorable(Boolean value)
public TimeSeriesModel withExtensions(Extension... values)
public TimeSeriesModel withExtensions(Collection<Extension> values)
public TimeSeriesModel withMiningSchema(MiningSchema value)
public TimeSeriesModel withOutput(Output value)
public TimeSeriesModel withModelStats(ModelStats value)
public TimeSeriesModel withModelExplanation(ModelExplanation value)
public TimeSeriesModel withLocalTransformations(LocalTransformations value)
public TimeSeriesModel withTimeSeries(TimeSeries... values)
public TimeSeriesModel withTimeSeries(Collection<TimeSeries> values)
public TimeSeriesModel withSpectralAnalysis(SpectralAnalysis value)
public TimeSeriesModel withARIMA(ARIMA value)
public TimeSeriesModel withExponentialSmoothing(ExponentialSmoothing value)
public TimeSeriesModel withSeasonalTrendDecomposition(SeasonalTrendDecomposition value)
public TimeSeriesModel withModelVerification(ModelVerification value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasTimeSeries()
public Targets getTargets()
getTargets in class ModelUnsupportedOperationException - Always.public void setTargets(Targets targets)
setTargets in class ModelUnsupportedOperationException - Always.public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.