weka.core.pmml.jaxbbindings.NeuralLayer Maven / Gradle / Ivy
Show all versions of weka-dev Show documentation
//
// 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 java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
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;
/**
* Java class for NeuralLayer element declaration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <element name="NeuralLayer">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.dmg.org/PMML-4_1}Neuron" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="activationFunction" type="{http://www.dmg.org/PMML-4_1}ACTIVATION-FUNCTION" />
* <attribute name="altitude" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_1}NN-NORMALIZATION-METHOD" />
* <attribute name="numberOfNeurons" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
* <attribute name="threshold" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* <attribute name="width" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"extension",
"neuron"
})
@XmlRootElement(name = "NeuralLayer")
public class NeuralLayer {
@XmlElement(name = "Extension", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List extension;
@XmlElement(name = "Neuron", namespace = "http://www.dmg.org/PMML-4_1", required = true)
protected List neuron;
@XmlAttribute
protected ACTIVATIONFUNCTION activationFunction;
@XmlAttribute
protected Double altitude;
@XmlAttribute
protected NNNORMALIZATIONMETHOD normalizationMethod;
@XmlAttribute
protected BigInteger numberOfNeurons;
@XmlAttribute
protected Double threshold;
@XmlAttribute
protected Double width;
/**
* Gets the value of the extension property.
*
*
* 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 extension property.
*
*
* For example, to add a new item, do as follows:
*
* getExtension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension }
*
*
*/
public List getExtension() {
if (extension == null) {
extension = new ArrayList();
}
return this.extension;
}
/**
* Gets the value of the neuron property.
*
*
* 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 neuron property.
*
*
* For example, to add a new item, do as follows:
*
* getNeuron().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Neuron }
*
*
*/
public List getNeuron() {
if (neuron == null) {
neuron = new ArrayList();
}
return this.neuron;
}
/**
* Gets the value of the activationFunction property.
*
* @return
* possible object is
* {@link ACTIVATIONFUNCTION }
*
*/
public ACTIVATIONFUNCTION getActivationFunction() {
return activationFunction;
}
/**
* Sets the value of the activationFunction property.
*
* @param value
* allowed object is
* {@link ACTIVATIONFUNCTION }
*
*/
public void setActivationFunction(ACTIVATIONFUNCTION value) {
this.activationFunction = value;
}
/**
* Gets the value of the altitude property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getAltitude() {
return altitude;
}
/**
* Sets the value of the altitude property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setAltitude(Double value) {
this.altitude = value;
}
/**
* Gets the value of the normalizationMethod property.
*
* @return
* possible object is
* {@link NNNORMALIZATIONMETHOD }
*
*/
public NNNORMALIZATIONMETHOD getNormalizationMethod() {
return normalizationMethod;
}
/**
* Sets the value of the normalizationMethod property.
*
* @param value
* allowed object is
* {@link NNNORMALIZATIONMETHOD }
*
*/
public void setNormalizationMethod(NNNORMALIZATIONMETHOD value) {
this.normalizationMethod = value;
}
/**
* Gets the value of the numberOfNeurons property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getNumberOfNeurons() {
return numberOfNeurons;
}
/**
* Sets the value of the numberOfNeurons property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setNumberOfNeurons(BigInteger value) {
this.numberOfNeurons = value;
}
/**
* Gets the value of the threshold property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getThreshold() {
return threshold;
}
/**
* Sets the value of the threshold property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setThreshold(Double value) {
this.threshold = value;
}
/**
* Gets the value of the width property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setWidth(Double value) {
this.width = value;
}
}