public class NeuralLayer extends PMMLObject implements com.sun.xml.bind.Locatable, 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.w3.org/2001/XMLSchema}nonNegativeInteger" />
<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>
| 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() |
NeuralLayer |
withActivationFunction(ActivationFunctionType value) |
NeuralLayer |
withAltitude(Double value) |
NeuralLayer |
withExtensions(Collection<Extension> values) |
NeuralLayer |
withExtensions(Extension... values) |
NeuralLayer |
withNeurons(Collection<Neuron> values) |
NeuralLayer |
withNeurons(Neuron... values) |
NeuralLayer |
withNormalizationMethod(NnNormalizationMethodType value) |
NeuralLayer |
withNumberOfNeurons(Integer value) |
NeuralLayer |
withThreshold(Double value) |
NeuralLayer |
withWidth(Double value) |
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
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 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 NeuralLayer withExtensions(Extension... values)
public NeuralLayer withExtensions(Collection<Extension> values)
public NeuralLayer withNeurons(Neuron... values)
public NeuralLayer withNeurons(Collection<Neuron> values)
public NeuralLayer withNumberOfNeurons(Integer value)
public NeuralLayer withActivationFunction(ActivationFunctionType value)
public NeuralLayer withThreshold(Double value)
public NeuralLayer withWidth(Double value)
public NeuralLayer withAltitude(Double value)
public NeuralLayer withNormalizationMethod(NnNormalizationMethodType value)
public 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 © 2014 University of Tartu. All Rights Reserved.