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>
| Modifier and Type | Field and Description |
|---|---|
protected ActivationFunctionType |
activationFunction |
protected java.lang.String |
algorithmName |
protected java.lang.Double |
altitude |
protected java.util.List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected LocalTransformations |
localTransformations |
protected MiningSchema |
miningSchema |
protected ModelExplanation |
modelExplanation |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected NeuralInputs |
neuralInputs |
protected java.util.List<NeuralLayer> |
neuralLayers |
protected NeuralOutputs |
neuralOutputs |
protected NnNormalizationMethodType |
normalizationMethod |
protected java.lang.Integer |
numberOfLayers |
protected Output |
output |
protected java.lang.Boolean |
scorable |
protected Targets |
targets |
protected java.lang.Double |
threshold |
protected java.lang.Double |
width |
| Constructor and Description |
|---|
NeuralNetwork() |
NeuralNetwork(MiningFunctionType functionName,
ActivationFunctionType activationFunction,
MiningSchema miningSchema,
NeuralInputs neuralInputs,
java.util.List<NeuralLayer> neuralLayers) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
ActivationFunctionType |
getActivationFunction()
Gets the value of the activationFunction property.
|
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
double |
getAltitude()
Gets the value of the altitude property.
|
java.util.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.
|
java.lang.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.
|
java.util.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.
|
java.lang.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.
|
java.lang.Double |
getWidth()
Gets the value of the width property.
|
boolean |
hasExtensions() |
boolean |
hasNeuralLayers() |
boolean |
isScorable()
Gets the value of the scorable property.
|
void |
setActivationFunction(ActivationFunctionType value)
Sets the value of the activationFunction property.
|
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setAltitude(java.lang.Double value)
Sets the value of the altitude property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema property.
|
void |
setModelExplanation(ModelExplanation value)
Sets the value of the modelExplanation property.
|
void |
setModelName(java.lang.String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setModelVerification(ModelVerification value)
Sets the value of the modelVerification property.
|
void |
setNeuralInputs(NeuralInputs value)
Sets the value of the neuralInputs property.
|
void |
setNeuralOutputs(NeuralOutputs value)
Sets the value of the neuralOutputs property.
|
void |
setNormalizationMethod(NnNormalizationMethodType value)
Sets the value of the normalizationMethod property.
|
void |
setNumberOfLayers(java.lang.Integer value)
Sets the value of the numberOfLayers property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setScorable(java.lang.Boolean value)
Sets the value of the scorable property.
|
void |
setTargets(Targets value)
Sets the value of the targets property.
|
void |
setThreshold(java.lang.Double value)
Sets the value of the threshold property.
|
void |
setWidth(java.lang.Double value)
Sets the value of the width property.
|
NeuralNetwork |
withActivationFunction(ActivationFunctionType value) |
NeuralNetwork |
withAlgorithmName(java.lang.String value) |
NeuralNetwork |
withAltitude(java.lang.Double value) |
NeuralNetwork |
withExtensions(java.util.Collection<Extension> values) |
NeuralNetwork |
withExtensions(Extension... values) |
NeuralNetwork |
withFunctionName(MiningFunctionType value) |
NeuralNetwork |
withLocalTransformations(LocalTransformations value) |
NeuralNetwork |
withMiningSchema(MiningSchema value) |
NeuralNetwork |
withModelExplanation(ModelExplanation value) |
NeuralNetwork |
withModelName(java.lang.String value) |
NeuralNetwork |
withModelStats(ModelStats value) |
NeuralNetwork |
withModelVerification(ModelVerification value) |
NeuralNetwork |
withNeuralInputs(NeuralInputs value) |
NeuralNetwork |
withNeuralLayers(java.util.Collection<NeuralLayer> values) |
NeuralNetwork |
withNeuralLayers(NeuralLayer... values) |
NeuralNetwork |
withNeuralOutputs(NeuralOutputs value) |
NeuralNetwork |
withNormalizationMethod(NnNormalizationMethodType value) |
NeuralNetwork |
withNumberOfLayers(java.lang.Integer value) |
NeuralNetwork |
withOutput(Output value) |
NeuralNetwork |
withScorable(java.lang.Boolean value) |
NeuralNetwork |
withTargets(Targets value) |
NeuralNetwork |
withThreshold(java.lang.Double value) |
NeuralNetwork |
withWidth(java.lang.Double value) |
getLocator, setLocatorprotected java.lang.String modelName
protected MiningFunctionType functionName
protected java.lang.String algorithmName
protected ActivationFunctionType activationFunction
protected NnNormalizationMethodType normalizationMethod
protected java.lang.Double threshold
protected java.lang.Double width
protected java.lang.Double altitude
protected java.lang.Integer numberOfLayers
protected java.lang.Boolean scorable
protected java.util.List<Extension> extensions
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected ModelExplanation modelExplanation
protected Targets targets
protected LocalTransformations localTransformations
protected NeuralInputs neuralInputs
protected java.util.List<NeuralLayer> neuralLayers
protected NeuralOutputs neuralOutputs
protected ModelVerification modelVerification
public NeuralNetwork()
public NeuralNetwork(MiningFunctionType functionName, ActivationFunctionType activationFunction, MiningSchema miningSchema, NeuralInputs neuralInputs, java.util.List<NeuralLayer> neuralLayers)
public java.lang.String getModelName()
getModelName in class ModelStringpublic void setModelName(java.lang.String value)
setModelName in class Modelvalue - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class Modelvalue - allowed object is
MiningFunctionTypepublic java.lang.String getAlgorithmName()
getAlgorithmName in class ModelStringpublic void setAlgorithmName(java.lang.String value)
setAlgorithmName in class Modelvalue - allowed object is
Stringpublic ActivationFunctionType getActivationFunction()
ActivationFunctionTypepublic void setActivationFunction(ActivationFunctionType value)
value - allowed object is
ActivationFunctionTypepublic NnNormalizationMethodType getNormalizationMethod()
NnNormalizationMethodTypepublic void setNormalizationMethod(NnNormalizationMethodType value)
value - allowed object is
NnNormalizationMethodTypepublic double getThreshold()
Doublepublic void setThreshold(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Double getWidth()
Doublepublic void setWidth(java.lang.Double value)
value - allowed object is
Doublepublic double getAltitude()
Doublepublic void setAltitude(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Integer getNumberOfLayers()
Stringpublic void setNumberOfLayers(java.lang.Integer value)
value - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(java.lang.Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic java.util.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 void setMiningSchema(MiningSchema value)
setMiningSchema in class Modelvalue - allowed object is
MiningSchemapublic Output getOutput()
public void setOutput(Output value)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class Modelvalue - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic void setModelExplanation(ModelExplanation value)
setModelExplanation in class Modelvalue - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic void setTargets(Targets value)
setTargets in class Modelvalue - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class Modelvalue - allowed object is
LocalTransformationspublic NeuralInputs getNeuralInputs()
NeuralInputspublic void setNeuralInputs(NeuralInputs value)
value - allowed object is
NeuralInputspublic java.util.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 void setNeuralOutputs(NeuralOutputs value)
value - allowed object is
NeuralOutputspublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic void setModelVerification(ModelVerification value)
setModelVerification in class Modelvalue - allowed object is
ModelVerificationpublic NeuralNetwork withModelName(java.lang.String value)
public NeuralNetwork withFunctionName(MiningFunctionType value)
public NeuralNetwork withAlgorithmName(java.lang.String value)
public NeuralNetwork withActivationFunction(ActivationFunctionType value)
public NeuralNetwork withNormalizationMethod(NnNormalizationMethodType value)
public NeuralNetwork withThreshold(java.lang.Double value)
public NeuralNetwork withWidth(java.lang.Double value)
public NeuralNetwork withAltitude(java.lang.Double value)
public NeuralNetwork withNumberOfLayers(java.lang.Integer value)
public NeuralNetwork withScorable(java.lang.Boolean value)
public NeuralNetwork withExtensions(Extension... values)
public NeuralNetwork withExtensions(java.util.Collection<Extension> values)
public NeuralNetwork withMiningSchema(MiningSchema value)
public NeuralNetwork withOutput(Output value)
public NeuralNetwork withModelStats(ModelStats value)
public NeuralNetwork withModelExplanation(ModelExplanation value)
public NeuralNetwork withTargets(Targets value)
public NeuralNetwork withLocalTransformations(LocalTransformations value)
public NeuralNetwork withNeuralInputs(NeuralInputs value)
public NeuralNetwork withNeuralLayers(NeuralLayer... values)
public NeuralNetwork withNeuralLayers(java.util.Collection<NeuralLayer> values)
public NeuralNetwork withNeuralOutputs(NeuralOutputs value)
public NeuralNetwork withModelVerification(ModelVerification value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasNeuralLayers()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.