public class NeuralLayer extends PMMLObject implements HasExtensions<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() |
Double |
getAltitude() |
List<Extension> |
getExtensions() |
List<Neuron> |
getNeurons() |
NeuralNetwork.NormalizationMethod |
getNormalizationMethod() |
Integer |
getNumberOfNeurons() |
Double |
getThreshold() |
Double |
getWidth() |
boolean |
hasExtensions() |
boolean |
hasNeurons() |
NeuralLayer |
setActivationFunction(NeuralNetwork.ActivationFunction activationFunction) |
NeuralLayer |
setAltitude(Double altitude) |
NeuralLayer |
setNormalizationMethod(NeuralNetwork.NormalizationMethod normalizationMethod) |
NeuralLayer |
setNumberOfNeurons(Integer numberOfNeurons) |
NeuralLayer |
setThreshold(Double threshold) |
NeuralLayer |
setWidth(Double width) |
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic Integer getNumberOfNeurons()
public NeuralLayer setNumberOfNeurons(Integer numberOfNeurons)
public NeuralNetwork.ActivationFunction getActivationFunction()
public NeuralLayer setActivationFunction(NeuralNetwork.ActivationFunction activationFunction)
public Double getThreshold()
public NeuralLayer setThreshold(Double threshold)
public Double getWidth()
public NeuralLayer setWidth(Double width)
public Double getAltitude()
public NeuralLayer setAltitude(Double altitude)
public NeuralNetwork.NormalizationMethod getNormalizationMethod()
public NeuralLayer setNormalizationMethod(NeuralNetwork.NormalizationMethod normalizationMethod)
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 © 2019 University of Tartu. All rights reserved.