Reading Book: Neural network programming with Java (2016) Day1
Breaking down Chapter1’s source code file one by one.
Neuron.java
Neuron class consists of the following properties and methods.
Properties:
- ArrayList
listOfWeightIn - ArrayList
listOfWeightOut
Methods:
- getListOfWeightIn()
- setListOfWeightIn()
- getListOfWeightOut()
- setListOfWeightOut()
Layer.java
Layer class consists of the following properties and methods.
Properties:
- ArrayList
listOfNeurons - int numberOfNeuronsInLayer
Methods:
- void printLayer()
- ArrayList
getListOfNeurons() - setListOfNeurons(ArrayList
listOfNeurons) - int getNumberOfNeuronsInLayer()
- void setNumberOfNeuronsInLayer(int numberOfNeuronsInLayer)
HiddenLayer extends Layer.java
HiddenLayer class consists of the following properties and methods.
Properties:
- ArrayList
initLayer(HiddenLayer hiddenLayer, ArrayList listOfHiddenLayer, InputLayer inputLayer, OutputLayer outputLayer
InputLayer extends Layer.java
InputLayer class consists of the following properties and methods.
Properties:
- InputLayer initLayer(InputLayer inputLayer)
NuralNet.java
NuralNet class consists of the following properties and methods.
Properties:
- InputLayer inputLayer
- HiddenLayer hiddenLayer
- ArrayList
listOfHiddenLayer - OutputLayer outputLayer
- int numberOfHiddenLayers
Methods:
- initNet()
コメントを残す