MachineIntelligenceCore:NeuralNets
|
Test Fixture - feed-forward net with 2 layers. A "formalized" example from a step-by-step tutorial: https://mattmazur.com/2015/03/17/a-step-by-step-backpropagation-example/. More...
#include <MultiLayerNeuralNetworkTests.hpp>
Public Member Functions | |
Tutorial2LayerNN () | |
Protected Member Functions | |
virtual void | SetUp () |
Private Attributes | |
mic::mlnn::BackpropagationNeuralNetwork < double > | nn |
mic::types::MatrixPtr< double > | input_x |
mic::types::MatrixPtr< double > | target_y |
mic::types::MatrixPtr< double > | ffpass1_lin1_y |
mic::types::MatrixPtr< double > | ffpass1_sig1_y |
mic::types::MatrixPtr< double > | ffpass1_lin2_y |
mic::types::MatrixPtr< double > | ffpass1_sig2_y |
double | ffpass1_loss |
mic::types::MatrixPtr< double > | ffpass1_dy |
mic::types::MatrixPtr< double > | bwpass1_lin2_dW |
mic::types::MatrixPtr< double > | bwpass1_lin2_pW_updated |
mic::types::MatrixPtr< double > | bwpass1_lin1_dW |
mic::types::MatrixPtr< double > | bwpass1_lin1_pW_updated |
Test Fixture - feed-forward net with 2 layers. A "formalized" example from a step-by-step tutorial: https://mattmazur.com/2015/03/17/a-step-by-step-backpropagation-example/.
Definition at line 79 of file MultiLayerNeuralNetworkTests.hpp.
|
inline |
Definition at line 82 of file MultiLayerNeuralNetworkTests.hpp.
References bwpass1_lin1_dW, bwpass1_lin1_pW_updated, bwpass1_lin2_dW, bwpass1_lin2_pW_updated, ffpass1_dy, ffpass1_lin1_y, ffpass1_lin2_y, ffpass1_sig1_y, ffpass1_sig2_y, input_x, nn, mic::mlnn::MultiLayerNeuralNetwork< eT >::pushLayer(), mic::mlnn::BackpropagationNeuralNetwork< eT >::setLoss(), and target_y.
|
inlineprotectedvirtual |
Definition at line 106 of file MultiLayerNeuralNetworkTests.hpp.
References ffpass1_loss, mic::mlnn::MultiLayerNeuralNetwork< eT >::layers, nn, mic::mlnn::MultiLayerNeuralNetwork< eT >::resetGrads(), and mic::mlnn::MultiLayerNeuralNetwork< eT >::resizeBatch().
|
private |
Definition at line 166 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 167 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 164 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 165 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 161 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 157 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 157 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 160 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by SetUp().
|
private |
Definition at line 157 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 157 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 151 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().
|
private |
Definition at line 148 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by SetUp(), and Tutorial2LayerNN().
|
private |
Definition at line 154 of file MultiLayerNeuralNetworkTests.hpp.
Referenced by Tutorial2LayerNN().