|
|
@ -7,7 +7,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include <matrix.hxx> |
|
|
|
#include <matrix.hxx> |
|
|
|
|
|
|
|
|
|
|
|
/** @main Neural Network with Hidden Layers
|
|
|
|
/** @mainpage Neural Network with Hidden Layers
|
|
|
|
|
|
|
|
|
|
|
|
@section neuro-intro Overview |
|
|
|
@section neuro-intro Overview |
|
|
|
|
|
|
|
|
|
|
@ -101,6 +101,14 @@ |
|
|
|
The output vector is then calculatd as: |
|
|
|
The output vector is then calculatd as: |
|
|
|
O = I × H<sub>1</sub> × H<sub>2</sub> × H<sub>…</sub> × H<sub>l+1</sub> |
|
|
|
O = I × H<sub>1</sub> × H<sub>2</sub> × H<sub>…</sub> × H<sub>l+1</sub> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@code |
|
|
|
|
|
|
|
const size_type i(4); |
|
|
|
|
|
|
|
const size_type o(2); |
|
|
|
|
|
|
|
NeuroNet<double, i, o> net; |
|
|
|
|
|
|
|
Matrix<1, i> input(1.0, 2.0, 0.0, -1.0); |
|
|
|
|
|
|
|
Matrix<1, o> output = net.propagate(input); |
|
|
|
|
|
|
|
@endcode |
|
|
|
|
|
|
|
|
|
|
|
@section beuro-backward Back Propagation |
|
|
|
@section beuro-backward Back Propagation |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|