public class NeuralLayer extends PMMLObject implements com.sun.xml.bind.Locatable
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_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}Neuron" maxOccurs="unbounded"/>
</sequence>
<attribute name="numberOfNeurons" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="activationFunction" type="{http://www.dmg.org/PMML-4_1}ACTIVATION-FUNCTION" />
<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" />
<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" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ActivationFunctionType |
activationFunction |
protected Double |
altitude |
protected List<Extension> |
extensions |
protected Locator |
locator |
protected List<Neuron> |
neurons |
protected NnNormalizationMethodType |
normalizationMethod |
protected Integer |
numberOfNeurons |
protected Double |
threshold |
protected Double |
width |
| Constructor and Description |
|---|
NeuralLayer() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
void |
setActivationFunction(ActivationFunctionType value)
Sets the value of the activationFunction property.
|
void |
setAltitude(Double value)
Sets the value of the altitude property.
|
void |
setNormalizationMethod(NnNormalizationMethodType value)
Sets the value of the normalizationMethod property.
|
void |
setNumberOfNeurons(Integer value)
Sets the value of the numberOfNeurons property.
|
void |
setSourceLocation(Locator newLocator) |
void |
setThreshold(Double value)
Sets the value of the threshold property.
|
void |
setWidth(Double value)
Sets the value of the width property.
|
Locator |
sourceLocation() |
protected Integer numberOfNeurons
protected ActivationFunctionType activationFunction
protected Double threshold
protected Double width
protected Double altitude
protected NnNormalizationMethodType normalizationMethod
protected Locator locator
public 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
public 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 Integer getNumberOfNeurons()
Stringpublic void setNumberOfNeurons(Integer value)
value - allowed object is
Stringpublic ActivationFunctionType getActivationFunction()
ActivationFunctionTypepublic void setActivationFunction(ActivationFunctionType value)
value - allowed object is
ActivationFunctionTypepublic Double getThreshold()
Doublepublic void setThreshold(Double value)
value - allowed object is
Doublepublic Double getWidth()
Doublepublic void setWidth(Double value)
value - allowed object is
Doublepublic Double getAltitude()
Doublepublic void setAltitude(Double value)
value - allowed object is
Doublepublic NnNormalizationMethodType getNormalizationMethod()
NnNormalizationMethodTypepublic void setNormalizationMethod(NnNormalizationMethodType value)
value - allowed object is
NnNormalizationMethodTypepublic Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2013 University of Tartu. All Rights Reserved.