weka.core.pmml.jaxbbindings.TrendExpoSmooth Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weka-dev Show documentation
Show all versions of weka-dev Show documentation
The Waikato Environment for Knowledge Analysis (WEKA), a machine
learning workbench. This version represents the developer version, the
"bleeding edge" of development, you could say. New functionality gets added
to this version.
//
// 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 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 Trend_ExpoSmooth element declaration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="Trend_ExpoSmooth">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{http://www.dmg.org/PMML-4_1}REAL-ARRAY" minOccurs="0"/>
* </sequence>
* <attribute name="gamma" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="phi" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" default="1" />
* <attribute name="smoothedValue" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="trend" default="additive">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="additive"/>
* <enumeration value="damped_additive"/>
* <enumeration value="multiplicative"/>
* <enumeration value="damped_multiplicative"/>
* <enumeration value="polynomial_exponential"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"array"
})
@XmlRootElement(name = "Trend_ExpoSmooth")
public class TrendExpoSmooth {
@XmlElement(name = "Array", namespace = "http://www.dmg.org/PMML-4_1")
protected ArrayType array;
@XmlAttribute
protected Double gamma;
@XmlAttribute
protected Double phi;
@XmlAttribute
protected Double smoothedValue;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String trend;
/**
* Gets the value of the array property.
*
* @return
* possible object is
* {@link ArrayType }
*
*/
public ArrayType getArray() {
return array;
}
/**
* Sets the value of the array property.
*
* @param value
* allowed object is
* {@link ArrayType }
*
*/
public void setArray(ArrayType value) {
this.array = value;
}
/**
* Gets the value of the gamma property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getGamma() {
return gamma;
}
/**
* Sets the value of the gamma property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setGamma(Double value) {
this.gamma = value;
}
/**
* Gets the value of the phi property.
*
* @return
* possible object is
* {@link Double }
*
*/
public double getPhi() {
if (phi == null) {
return 1.0D;
} else {
return phi;
}
}
/**
* Sets the value of the phi property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setPhi(Double value) {
this.phi = value;
}
/**
* Gets the value of the smoothedValue property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getSmoothedValue() {
return smoothedValue;
}
/**
* Sets the value of the smoothedValue property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setSmoothedValue(Double value) {
this.smoothedValue = value;
}
/**
* Gets the value of the trend property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrend() {
if (trend == null) {
return "additive";
} else {
return trend;
}
}
/**
* Sets the value of the trend property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTrend(String value) {
this.trend = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy