| 42 | public: |
| 43 | |
| 44 | mlp_kernel_c ( |
| 45 | long nodes_in_input_layer, |
| 46 | long nodes_in_first_hidden_layer, |
| 47 | long nodes_in_second_hidden_layer = 0, |
| 48 | long nodes_in_output_layer = 1, |
| 49 | double alpha = 0.1, |
| 50 | double momentum = 0.8 |
| 51 | ) : mlp_base( verify_constructor_args( |
| 52 | nodes_in_input_layer, |
| 53 | nodes_in_input_layer, |
| 54 | nodes_in_second_hidden_layer, |
| 55 | nodes_in_output_layer), |
| 56 | nodes_in_first_hidden_layer, |
| 57 | nodes_in_second_hidden_layer, |
| 58 | nodes_in_output_layer, |
| 59 | alpha, |
| 60 | momentum) |
| 61 | { |
| 62 | } |
| 63 | |
| 64 | template <typename EXP> |
| 65 | const matrix<double> operator() ( |
nothing calls this directly
no outgoing calls
no test coverage detected