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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_2}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}NeuralInputs"/>
<element ref="{http://www.dmg.org/PMML-4_2}NeuralLayer" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_2}NeuralOutputs" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}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_2}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="activationFunction" use="required" type="{http://www.dmg.org/PMML-4_2}ACTIVATION-FUNCTION" />
<attribute name="normalizationMethod" type="{http://www.dmg.org/PMML-4_2}NN-NORMALIZATION-METHOD" default="none" />
<attribute name="threshold" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" default="0" />
<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" default="1.0" />
<attribute name="numberOfLayers" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
NeuralNetwork() |
NeuralNetwork(MiningFunctionType functionName,
ActivationFunctionType 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) |
ActivationFunctionType |
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.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations 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.
|
NnNormalizationMethodType |
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(ActivationFunctionType 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 |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
NeuralNetwork |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations 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(NnNormalizationMethodType 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, setLocatorpublic NeuralNetwork()
public NeuralNetwork(MiningFunctionType functionName, ActivationFunctionType 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 MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic NeuralNetwork setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic NeuralNetwork setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic ActivationFunctionType getActivationFunction()
ActivationFunctionTypepublic NeuralNetwork setActivationFunction(ActivationFunctionType activationFunction)
activationFunction - allowed object is
ActivationFunctionTypepublic NnNormalizationMethodType getNormalizationMethod()
NnNormalizationMethodTypepublic NeuralNetwork setNormalizationMethod(NnNormalizationMethodType normalizationMethod)
normalizationMethod - allowed object is
NnNormalizationMethodTypepublic 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()
Stringpublic NeuralNetwork setNumberOfLayers(Integer numberOfLayers)
numberOfLayers - allowed object is
Stringpublic 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 © 2015 University of Tartu. All Rights Reserved.