public class Neuron extends Entity 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}Con" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_1}NN-NEURON-ID" />
<attribute name="bias" 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" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
altitude |
protected Double |
bias |
protected List<Connection> |
connections |
protected List<Extension> |
extensions |
protected String |
id |
protected Locator |
locator |
protected Double |
width |
| 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<Connection> |
getConnections()
Gets the value of the connections property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions 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 |
setSourceLocation(Locator newLocator) |
void |
setWidth(Double value)
Sets the value of the width property.
|
Locator |
sourceLocation() |
protected List<Connection> connections
protected String id
protected Double bias
protected Double width
protected Double altitude
protected Locator locator
@Deprecated public Neuron()
public Neuron(String id)
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<Connection> getConnections()
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 connections property.
For example, to add a new item, do as follows:
getConnections().add(newItem);
Objects of the following type(s) are allowed in the list
Connection
public String getId()
public void setId(String value)
public Double getBias()
Doublepublic void setBias(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 Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectCopyright © 2013 University of Tartu. All Rights Reserved.