Package org.dmg.pmml.neural_network
Class NeuralLayer
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.neural_network.NeuralLayer
-
- All Implemented Interfaces:
java.io.Serializable,HasExtensions<NeuralLayer>,HasLocator,HasActivationFunction<NeuralLayer>,HasNormalizationMethod<NeuralLayer>,Visitable
public class NeuralLayer extends PMMLObject implements HasExtensions<NeuralLayer>, HasActivationFunction<NeuralLayer>, HasNormalizationMethod<NeuralLayer>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NeuralLayer()NeuralLayer(java.util.List<Neuron> neurons)
-
Method Summary
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
NeuralLayer
public NeuralLayer()
-
NeuralLayer
public NeuralLayer(java.util.List<Neuron> neurons)
-
-
Method Detail
-
getNumberOfNeurons
public java.lang.Integer getNumberOfNeurons()
-
setNumberOfNeurons
public NeuralLayer setNumberOfNeurons(java.lang.Integer numberOfNeurons)
-
getActivationFunction
public NeuralNetwork.ActivationFunction getActivationFunction()
- Specified by:
getActivationFunctionin interfaceHasActivationFunction<NeuralLayer>
-
setActivationFunction
public NeuralLayer setActivationFunction(NeuralNetwork.ActivationFunction activationFunction)
- Specified by:
setActivationFunctionin interfaceHasActivationFunction<NeuralLayer>
-
getThreshold
public java.lang.Number getThreshold()
- Specified by:
getThresholdin interfaceHasActivationFunction<NeuralLayer>- See Also:
NeuralNetwork.ActivationFunction.THRESHOLD
-
setThreshold
public NeuralLayer setThreshold(java.lang.Number threshold)
- Specified by:
setThresholdin interfaceHasActivationFunction<NeuralLayer>
-
getLeakage
public java.lang.Number getLeakage()
- Specified by:
getLeakagein interfaceHasActivationFunction<NeuralLayer>- See Also:
NeuralNetwork.ActivationFunction.RECTIFIER
-
setLeakage
public NeuralLayer setLeakage(java.lang.Number leakage)
- Specified by:
setLeakagein interfaceHasActivationFunction<NeuralLayer>
-
getWidth
public java.lang.Number getWidth()
- Specified by:
getWidthin interfaceHasActivationFunction<NeuralLayer>- See Also:
NeuralNetwork.ActivationFunction.RADIAL_BASIS
-
setWidth
public NeuralLayer setWidth(java.lang.Number width)
- Specified by:
setWidthin interfaceHasActivationFunction<NeuralLayer>
-
getAltitude
public java.lang.Number getAltitude()
- Specified by:
getAltitudein interfaceHasActivationFunction<NeuralLayer>- See Also:
NeuralNetwork.ActivationFunction.RADIAL_BASIS
-
setAltitude
public NeuralLayer setAltitude(java.lang.Number altitude)
- Specified by:
setAltitudein interfaceHasActivationFunction<NeuralLayer>
-
getNormalizationMethod
public NeuralNetwork.NormalizationMethod getNormalizationMethod()
- Specified by:
getNormalizationMethodin interfaceHasNormalizationMethod<NeuralLayer>
-
setNormalizationMethod
public NeuralLayer setNormalizationMethod(NeuralNetwork.NormalizationMethod normalizationMethod)
- Specified by:
setNormalizationMethodin interfaceHasNormalizationMethod<NeuralLayer>
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<NeuralLayer>
-
getExtensions
public java.util.List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<NeuralLayer>
-
addExtensions
public NeuralLayer addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<NeuralLayer>
-
hasNeurons
public boolean hasNeurons()
-
requireNeurons
public java.util.List<Neuron> requireNeurons()
-
getNeurons
public java.util.List<Neuron> getNeurons()
-
addNeurons
public NeuralLayer addNeurons(Neuron... neurons)
-
accept
public VisitorAction accept(Visitor visitor)
-
-