Class Neuron
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.Neuron
-
public class Neuron extends java.lang.ObjectJava 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 Summary
Constructors Constructor Description Neuron()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublegetAltitude()Gets the value of the altitude property.java.lang.DoublegetBias()Gets the value of the bias property.java.util.List<Con1>getCon()Gets the value of the con property.java.util.List<Extension>getExtension()Gets the value of the extension property.java.lang.StringgetId()Gets the value of the id property.java.lang.DoublegetWidth()Gets the value of the width property.voidsetAltitude(java.lang.Double value)Sets the value of the altitude property.voidsetBias(java.lang.Double value)Sets the value of the bias property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetWidth(java.lang.Double value)Sets the value of the width property.
-
-
-
Method Detail
-
getExtension
public java.util.List<Extension> getExtension()
Gets the value of the extension property.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
setmethod 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
-
getCon
public java.util.List<Con1> getCon()
Gets the value of the con property.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
setmethod 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
-
getAltitude
public java.lang.Double getAltitude()
Gets the value of the altitude property.- Returns:
- possible object is
Double
-
setAltitude
public void setAltitude(java.lang.Double value)
Sets the value of the altitude property.- Parameters:
value- allowed object isDouble
-
getBias
public java.lang.Double getBias()
Gets the value of the bias property.- Returns:
- possible object is
Double
-
setBias
public void setBias(java.lang.Double value)
Sets the value of the bias property.- Parameters:
value- allowed object isDouble
-
getId
public java.lang.String getId()
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getWidth
public java.lang.Double getWidth()
Gets the value of the width property.- Returns:
- possible object is
Double
-
setWidth
public void setWidth(java.lang.Double value)
Sets the value of the width property.- Parameters:
value- allowed object isDouble
-
-