June 2017
Intermediate to advanced
744 pages
16h 41m
English
In this class we are going to group the neurons that are aligned in the same layer. Also, there is a need to define links between layers, since one layer forwards values to another. So the class will have the following properties:
public abstract class NeuralLayer {
protected int numberOfNeuronsInLayer;
private ArrayList<Neuron> neuron;
protected IActivationFunction activationFnc;
protected NeuralLayer previousLayer;
protected NeuralLayer nextLayer;
protected ArrayList<Double> input;
protected ArrayList<Double> output;
protected int numberOfInputs;
…
}Note that this class is abstract, the layer classes that can be instantiated are InputLayer, HiddenLayer, and OutputLayer. In order to create one layer, one must use one of these ...
Read now
Unlock full access