public class NeuralLayer extends Object
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>
| Constructor and Description |
|---|
NeuralLayer() |
| Modifier and Type | Method and Description |
|---|---|
ACTIVATIONFUNCTION |
getActivationFunction()
Gets the value of the activationFunction property.
|
Double |
getAltitude()
Gets the value of the altitude property.
|
List<Extension> |
getExtension()
Gets the value of the extension property.
|
List<Neuron> |
getNeuron()
Gets the value of the neuron property.
|
NNNORMALIZATIONMETHOD |
getNormalizationMethod()
Gets the value of the normalizationMethod property.
|
BigInteger |
getNumberOfNeurons()
Gets the value of the numberOfNeurons property.
|
Double |
getThreshold()
Gets the value of the threshold property.
|
Double |
getWidth()
Gets the value of the width property.
|
void |
setActivationFunction(ACTIVATIONFUNCTION value)
Sets the value of the activationFunction property.
|
void |
setAltitude(Double value)
Sets the value of the altitude property.
|
void |
setNormalizationMethod(NNNORMALIZATIONMETHOD value)
Sets the value of the normalizationMethod property.
|
void |
setNumberOfNeurons(BigInteger value)
Sets the value of the numberOfNeurons property.
|
void |
setThreshold(Double value)
Sets the value of the threshold property.
|
void |
setWidth(Double value)
Sets the value of the width property.
|
public List<Extension> getExtension()
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
Extension
public List<Neuron> getNeuron()
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
Neuron
public ACTIVATIONFUNCTION getActivationFunction()
ACTIVATIONFUNCTIONpublic void setActivationFunction(ACTIVATIONFUNCTION value)
value - allowed object is
ACTIVATIONFUNCTIONpublic Double getAltitude()
Doublepublic void setAltitude(Double value)
value - allowed object is
Doublepublic NNNORMALIZATIONMETHOD getNormalizationMethod()
NNNORMALIZATIONMETHODpublic void setNormalizationMethod(NNNORMALIZATIONMETHOD value)
value - allowed object is
NNNORMALIZATIONMETHODpublic BigInteger getNumberOfNeurons()
BigIntegerpublic void setNumberOfNeurons(BigInteger value)
value - allowed object is
BigIntegerpublic Double getThreshold()
Doublepublic void setThreshold(Double value)
value - allowed object is
Doublepublic Double getWidth()
DoubleCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.