public class NeuralLayer extends PMMLObject implements HasExtensions<NeuralLayer>, HasActivationFunction<NeuralLayer>, HasNormalizationMethod<NeuralLayer>
| Constructor and Description |
|---|
NeuralLayer() |
NeuralLayer(List<Neuron> neurons) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
NeuralLayer |
addExtensions(Extension... extensions) |
NeuralLayer |
addNeurons(Neuron... neurons) |
NeuralNetwork.ActivationFunction |
getActivationFunction() |
Number |
getAltitude() |
List<Extension> |
getExtensions() |
Number |
getLeakage() |
List<Neuron> |
getNeurons() |
NeuralNetwork.NormalizationMethod |
getNormalizationMethod() |
Integer |
getNumberOfNeurons() |
Number |
getThreshold() |
Number |
getWidth() |
boolean |
hasExtensions() |
boolean |
hasNeurons() |
List<Neuron> |
requireNeurons() |
NeuralLayer |
setActivationFunction(NeuralNetwork.ActivationFunction activationFunction) |
NeuralLayer |
setAltitude(Number altitude) |
NeuralLayer |
setLeakage(Number leakage) |
NeuralLayer |
setNormalizationMethod(NeuralNetwork.NormalizationMethod normalizationMethod) |
NeuralLayer |
setNumberOfNeurons(Integer numberOfNeurons) |
NeuralLayer |
setThreshold(Number threshold) |
NeuralLayer |
setWidth(Number width) |
getLocator, hasLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic Integer getNumberOfNeurons()
public NeuralLayer setNumberOfNeurons(Integer numberOfNeurons)
public NeuralNetwork.ActivationFunction getActivationFunction()
getActivationFunction in interface HasActivationFunction<NeuralLayer>public NeuralLayer setActivationFunction(NeuralNetwork.ActivationFunction activationFunction)
setActivationFunction in interface HasActivationFunction<NeuralLayer>public Number getThreshold()
getThreshold in interface HasActivationFunction<NeuralLayer>NeuralNetwork.ActivationFunction.THRESHOLDpublic NeuralLayer setThreshold(Number threshold)
setThreshold in interface HasActivationFunction<NeuralLayer>public Number getLeakage()
getLeakage in interface HasActivationFunction<NeuralLayer>NeuralNetwork.ActivationFunction.RECTIFIERpublic NeuralLayer setLeakage(Number leakage)
setLeakage in interface HasActivationFunction<NeuralLayer>public Number getWidth()
getWidth in interface HasActivationFunction<NeuralLayer>NeuralNetwork.ActivationFunction.RADIAL_BASISpublic NeuralLayer setWidth(Number width)
setWidth in interface HasActivationFunction<NeuralLayer>public Number getAltitude()
getAltitude in interface HasActivationFunction<NeuralLayer>NeuralNetwork.ActivationFunction.RADIAL_BASISpublic NeuralLayer setAltitude(Number altitude)
setAltitude in interface HasActivationFunction<NeuralLayer>public NeuralNetwork.NormalizationMethod getNormalizationMethod()
getNormalizationMethod in interface HasNormalizationMethod<NeuralLayer>public NeuralLayer setNormalizationMethod(NeuralNetwork.NormalizationMethod normalizationMethod)
setNormalizationMethod in interface HasNormalizationMethod<NeuralLayer>public boolean hasExtensions()
hasExtensions in interface HasExtensions<NeuralLayer>public List<Extension> getExtensions()
getExtensions in interface HasExtensions<NeuralLayer>public NeuralLayer addExtensions(Extension... extensions)
addExtensions in interface HasExtensions<NeuralLayer>public boolean hasNeurons()
public NeuralLayer addNeurons(Neuron... neurons)
public VisitorAction accept(Visitor visitor)
Copyright © 2022. All rights reserved.