| OLD | NEW |
| 1 /* The contents of this file was automatically generated by mlp_train.c | 1 /* The contents of this file was automatically generated by mlp_train.c |
| 2 It contains multi-layer perceptron (MLP) weights. */ | 2 It contains multi-layer perceptron (MLP) weights. */ |
| 3 | 3 |
| 4 #ifdef HAVE_CONFIG_H |
| 5 #include "config.h" |
| 6 #endif |
| 7 |
| 4 #include "mlp.h" | 8 #include "mlp.h" |
| 5 | 9 |
| 6 /* RMS error was 0.138320, seed was 1361535663 */ | 10 /* RMS error was 0.138320, seed was 1361535663 */ |
| 7 | 11 |
| 8 static const float weights[422] = { | 12 static const float weights[422] = { |
| 9 | 13 |
| 10 /* hidden layer */ | 14 /* hidden layer */ |
| 11 -0.0941125f, -0.302976f, -0.603555f, -0.19393f, -0.185983f, | 15 -0.0941125f, -0.302976f, -0.603555f, -0.19393f, -0.185983f, |
| 12 -0.601617f, -0.0465317f, -0.114563f, -0.103599f, -0.618938f, | 16 -0.601617f, -0.0465317f, -0.114563f, -0.103599f, -0.618938f, |
| 13 -0.317859f, -0.169949f, -0.0702885f, 0.148065f, 0.409524f, | 17 -0.317859f, -0.169949f, -0.0702885f, 0.148065f, 0.409524f, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 -1.1584f, -0.0277241f, -9.85f, -4.82386f, 3.71333f, | 100 -1.1584f, -0.0277241f, -9.85f, -4.82386f, 3.71333f, |
| 97 3.87308f, 3.52558f}; | 101 3.87308f, 3.52558f}; |
| 98 | 102 |
| 99 static const int topo[3] = {25, 15, 2}; | 103 static const int topo[3] = {25, 15, 2}; |
| 100 | 104 |
| 101 const MLP net = { | 105 const MLP net = { |
| 102 3, | 106 3, |
| 103 topo, | 107 topo, |
| 104 weights | 108 weights |
| 105 }; | 109 }; |
| OLD | NEW |