public class Neuron extends Object
Java class for Neuron element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="Neuron"> <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}Con" maxOccurs="unbounded"/> </sequence> <attribute name="altitude" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="bias" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_1}NN-NEURON-ID" /> <attribute name="width" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> </restriction> </complexContent> </complexType> </element>
Constructor and Description |
---|
Neuron() |
Modifier and Type | Method and Description |
---|---|
Double |
getAltitude()
Gets the value of the altitude property.
|
Double |
getBias()
Gets the value of the bias property.
|
List<Con1> |
getCon()
Gets the value of the con property.
|
List<Extension> |
getExtension()
Gets the value of the extension property.
|
String |
getId()
Gets the value of the id property.
|
Double |
getWidth()
Gets the value of the width property.
|
void |
setAltitude(Double value)
Sets the value of the altitude property.
|
void |
setBias(Double value)
Sets the value of the bias property.
|
void |
setId(String value)
Sets the value of the id 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<Con1> getCon()
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 con property.
For example, to add a new item, do as follows:
getCon().add(newItem);
Objects of the following type(s) are allowed in the list
Con1
public Double getAltitude()
Double
public void setAltitude(Double value)
value
- allowed object is
Double
public Double getBias()
Double
public void setBias(Double value)
value
- allowed object is
Double
public void setId(String value)
value
- allowed object is
String
public Double getWidth()
Double
Copyright © 2020 University of Waikato, Hamilton, NZ. All rights reserved.