public class NeuralLayer extends PMMLObject 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}Neuron" maxOccurs="unbounded"/>
</sequence>
<attribute name="numberOfNeurons" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="activationFunction" type="{http://www.dmg.org/PMML-4_2}ACTIVATION-FUNCTION" />
<attribute name="threshold" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="width" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="altitude" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
<attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_2}NN-NORMALIZATION-METHOD" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
NeuralLayer() |
NeuralLayer(List<Neuron> neurons) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
NeuralLayer |
addExtensions(Extension... extensions) |
NeuralLayer |
addNeurons(Neuron... neurons) |
ActivationFunctionType |
getActivationFunction()
Gets the value of the activationFunction property.
|
Double |
getAltitude()
Gets the value of the altitude property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
List<Neuron> |
getNeurons()
Gets the value of the neurons property.
|
NnNormalizationMethodType |
getNormalizationMethod()
Gets the value of the normalizationMethod property.
|
Integer |
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.
|
boolean |
hasExtensions() |
boolean |
hasNeurons() |
NeuralLayer |
setActivationFunction(ActivationFunctionType activationFunction)
Sets the value of the activationFunction property.
|
NeuralLayer |
setAltitude(Double altitude)
Sets the value of the altitude property.
|
NeuralLayer |
setNormalizationMethod(NnNormalizationMethodType normalizationMethod)
Sets the value of the normalizationMethod property.
|
NeuralLayer |
setNumberOfNeurons(Integer numberOfNeurons)
Sets the value of the numberOfNeurons property.
|
NeuralLayer |
setThreshold(Double threshold)
Sets the value of the threshold property.
|
NeuralLayer |
setWidth(Double width)
Sets the value of the width property.
|
getLocator, setLocatorpublic Integer getNumberOfNeurons()
Integerpublic NeuralLayer setNumberOfNeurons(Integer numberOfNeurons)
numberOfNeurons - allowed object is
Integerpublic ActivationFunctionType getActivationFunction()
ActivationFunctionTypepublic NeuralLayer setActivationFunction(ActivationFunctionType activationFunction)
activationFunction - allowed object is
ActivationFunctionTypepublic Double getThreshold()
Doublepublic NeuralLayer setThreshold(Double threshold)
threshold - allowed object is
Doublepublic Double getWidth()
Doublepublic NeuralLayer setWidth(Double width)
width - allowed object is
Doublepublic Double getAltitude()
Doublepublic NeuralLayer setAltitude(Double altitude)
altitude - allowed object is
Doublepublic NnNormalizationMethodType getNormalizationMethod()
NnNormalizationMethodTypepublic NeuralLayer setNormalizationMethod(NnNormalizationMethodType normalizationMethod)
normalizationMethod - allowed object is
NnNormalizationMethodTypepublic 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 List<Neuron> getNeurons()
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 neurons property.
For example, to add a new item, do as follows:
getNeurons().add(newItem);
Objects of the following type(s) are allowed in the list
Neuron
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic NeuralLayer addExtensions(Extension... extensions)
public boolean hasNeurons()
public NeuralLayer addNeurons(Neuron... neurons)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.