public class NeuralNetwork extends Model implements 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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_3}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}NeuralInputs"/>
<element ref="{http://www.dmg.org/PMML-4_3}NeuralLayer" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_3}NeuralOutputs" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelVerification" minOccurs="0"/>
</sequence>
<attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_3}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="activationFunction" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="threshold"/>
<enumeration value="logistic"/>
<enumeration value="tanh"/>
<enumeration value="identity"/>
<enumeration value="exponential"/>
<enumeration value="reciprocal"/>
<enumeration value="square"/>
<enumeration value="Gauss"/>
<enumeration value="sine"/>
<enumeration value="cosine"/>
<enumeration value="Elliott"/>
<enumeration value="arctan"/>
<enumeration value="rectifier"/>
<enumeration value="radialBasis"/>
</restriction>
</simpleType>
</attribute>
<attribute name="normalizationMethod" default="none">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="none"/>
<enumeration value="simplemax"/>
<enumeration value="softmax"/>
</restriction>
</simpleType>
</attribute>
<attribute name="threshold" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" default="0" />
<attribute name="width" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="altitude" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" default="1.0" />
<attribute name="numberOfLayers" type="{http://www.dmg.org/PMML-4_3}INT-NUMBER" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
NeuralNetwork.ActivationFunction
Java class for null.
|
static class |
NeuralNetwork.NormalizationMethod
Java class for null.
|
| Constructor and Description |
|---|
NeuralNetwork() |
NeuralNetwork(MiningFunction miningFunction,
NeuralNetwork.ActivationFunction activationFunction,
MiningSchema miningSchema,
NeuralInputs neuralInputs,
List<NeuralLayer> neuralLayers) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
NeuralNetwork |
addExtensions(Extension... extensions) |
NeuralNetwork |
addNeuralLayers(NeuralLayer... neuralLayers) |
NeuralNetwork.ActivationFunction |
getActivationFunction()
Gets the value of the activationFunction property.
|
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
Double |
getAltitude()
Gets the value of the altitude property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
MiningFunction |
getMiningFunction()
Gets the value of the miningFunction property.
|
MiningSchema |
getMiningSchema()
Gets the value of the miningSchema property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification property.
|
NeuralInputs |
getNeuralInputs()
Gets the value of the neuralInputs property.
|
List<NeuralLayer> |
getNeuralLayers()
Gets the value of the neuralLayers property.
|
NeuralOutputs |
getNeuralOutputs()
Gets the value of the neuralOutputs property.
|
NeuralNetwork.NormalizationMethod |
getNormalizationMethod()
Gets the value of the normalizationMethod property.
|
Integer |
getNumberOfLayers()
Gets the value of the numberOfLayers property.
|
Output |
getOutput()
Gets the value of the output property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
Double |
getThreshold()
Gets the value of the threshold property.
|
Double |
getWidth()
Gets the value of the width property.
|
boolean |
hasExtensions() |
boolean |
hasNeuralLayers() |
boolean |
isScorable()
Gets the value of the scorable property.
|
NeuralNetwork |
setActivationFunction(NeuralNetwork.ActivationFunction activationFunction)
Sets the value of the activationFunction property.
|
NeuralNetwork |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
NeuralNetwork |
setAltitude(Double altitude)
Sets the value of the altitude property.
|
NeuralNetwork |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
NeuralNetwork |
setMiningFunction(MiningFunction miningFunction)
Sets the value of the miningFunction property.
|
NeuralNetwork |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
NeuralNetwork |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
NeuralNetwork |
setModelName(String modelName)
Sets the value of the modelName property.
|
NeuralNetwork |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
NeuralNetwork |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
NeuralNetwork |
setNeuralInputs(NeuralInputs neuralInputs)
Sets the value of the neuralInputs property.
|
NeuralNetwork |
setNeuralOutputs(NeuralOutputs neuralOutputs)
Sets the value of the neuralOutputs property.
|
NeuralNetwork |
setNormalizationMethod(NeuralNetwork.NormalizationMethod normalizationMethod)
Sets the value of the normalizationMethod property.
|
NeuralNetwork |
setNumberOfLayers(Integer numberOfLayers)
Sets the value of the numberOfLayers property.
|
NeuralNetwork |
setOutput(Output output)
Sets the value of the output property.
|
NeuralNetwork |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
NeuralNetwork |
setTargets(Targets targets)
Sets the value of the targets property.
|
NeuralNetwork |
setThreshold(Double threshold)
Sets the value of the threshold property.
|
NeuralNetwork |
setWidth(Double width)
Sets the value of the width property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic NeuralNetwork()
public NeuralNetwork(MiningFunction miningFunction, NeuralNetwork.ActivationFunction activationFunction, MiningSchema miningSchema, NeuralInputs neuralInputs, List<NeuralLayer> neuralLayers)
public String getModelName()
getModelName in class ModelStringpublic NeuralNetwork setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunction getMiningFunction()
getMiningFunction in class ModelMiningFunctionpublic NeuralNetwork setMiningFunction(MiningFunction miningFunction)
setMiningFunction in class ModelminingFunction - allowed object is
MiningFunctionpublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic NeuralNetwork setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic NeuralNetwork.ActivationFunction getActivationFunction()
NeuralNetwork.ActivationFunctionpublic NeuralNetwork setActivationFunction(NeuralNetwork.ActivationFunction activationFunction)
activationFunction - allowed object is
NeuralNetwork.ActivationFunctionpublic NeuralNetwork.NormalizationMethod getNormalizationMethod()
NeuralNetwork.NormalizationMethodpublic NeuralNetwork setNormalizationMethod(NeuralNetwork.NormalizationMethod normalizationMethod)
normalizationMethod - allowed object is
NeuralNetwork.NormalizationMethodpublic Double getThreshold()
Doublepublic NeuralNetwork setThreshold(Double threshold)
threshold - allowed object is
Doublepublic Double getWidth()
Doublepublic NeuralNetwork setWidth(Double width)
width - allowed object is
Doublepublic Double getAltitude()
Doublepublic NeuralNetwork setAltitude(Double altitude)
altitude - allowed object is
Doublepublic Integer getNumberOfLayers()
Integerpublic NeuralNetwork setNumberOfLayers(Integer numberOfLayers)
numberOfLayers - allowed object is
Integerpublic boolean isScorable()
isScorable in class ModelBooleanpublic NeuralNetwork setScorable(Boolean scorable)
setScorable in class Modelscorable - allowed object is
Booleanpublic 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 MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic NeuralNetwork setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public NeuralNetwork setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic NeuralNetwork setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic NeuralNetwork setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic NeuralNetwork setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic NeuralNetwork setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic NeuralInputs getNeuralInputs()
NeuralInputspublic NeuralNetwork setNeuralInputs(NeuralInputs neuralInputs)
neuralInputs - allowed object is
NeuralInputspublic List<NeuralLayer> getNeuralLayers()
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 neuralLayers property.
For example, to add a new item, do as follows:
getNeuralLayers().add(newItem);
Objects of the following type(s) are allowed in the list
NeuralLayer
public NeuralOutputs getNeuralOutputs()
NeuralOutputspublic NeuralNetwork setNeuralOutputs(NeuralOutputs neuralOutputs)
neuralOutputs - allowed object is
NeuralOutputspublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic NeuralNetwork setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic NeuralNetwork addExtensions(Extension... extensions)
public boolean hasNeuralLayers()
public NeuralNetwork addNeuralLayers(NeuralLayer... neuralLayers)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.