shithub: opus

ref: 113a5e1b1efb5d637c882d79b478a9999d426b77
dir: /src/mlp_data.c/

View raw version
/* The contents of this file was automatically generated by mlp_train.c
   It contains multi-layer perceptron (MLP) weights. */

#include "mlp.h"

/* RMS error was 0.179835, seed was 1322103961 */

static const float weights[271] = {

/* hidden layer */
1.55597f, -0.0739792f, -0.0646761f, -0.099531f, -0.0794943f,
0.0180174f, -0.0391354f, 0.0508224f, -0.0160169f, -0.0773263f,
-0.0300002f, -0.0865361f, 0.124477f, -0.28648f, -0.0860702f,
-0.518949f, -0.0873341f, -0.235393f, -0.907833f, -0.383573f,
0.535388f, -0.57944f, 0.98116f, 0.8482f, 1.12426f,
-3.23721f, -0.647072f, -0.0265139f, 0.0711052f, -0.00125666f,
-0.0396181f, -0.44282f, -0.510495f, -0.201865f, 0.0134336f,
-0.167205f, -0.155406f, 0.00041678f, -0.00468705f, -0.0233224f,
0.264279f, -0.301375f, 0.00234895f, 0.0144741f, -0.137535f,
0.200323f, 0.0192027f, 3.19818f, 2.03495f, 0.705517f,
-4.6025f, -0.11485f, -0.792716f, 0.150714f, 0.10608f,
0.240633f, 0.0690698f, 0.0695297f, 0.124819f, 0.0501433f,
0.0460952f, 0.147639f, 0.10327f, 0.158007f, 0.113714f,
0.0276191f, 0.0680749f, -0.130012f, 0.0796126f, 0.133067f,
0.51495f, 0.747578f, -0.128742f, 5.98112f, -1.16698f,
-0.276492f, -1.73549f, -3.90234f, 2.01489f, -0.040118f,
-0.113002f, -0.146751f, -0.113569f, 0.0534873f, 0.0989832f,
0.0872875f, 0.049266f, 0.0367557f, -0.00889148f, -0.0648461f,
-0.00190352f, 0.0143773f, 0.0259364f, -0.0592133f, -0.0672924f,
0.1399f, -0.0987886f, -0.347402f, 0.101326f, -0.0680876f,
0.469186f, 0.246922f, 10.4017f, 3.44846f, -0.662725f,
-0.0328208f, -0.0561274f, -0.0167744f, 0.00044282f, -0.0457645f,
-0.0408314f, -0.013113f, -0.0373873f, -0.0474122f, -0.0273745f,
-0.0308505f, 0.000582959f, -0.0421135f, 0.464859f, 0.196842f,
0.320538f, 0.0435528f, -0.200168f, 0.266475f, -0.0853727f,
1.20397f, 0.711542f, -1.04397f, -1.47759f, 1.26768f,
0.446958f, 0.266477f, -0.30802f, 0.28431f, -0.118541f,
0.00836345f, 0.0689026f, -0.0137996f, -0.0395417f, 0.26982f,
-0.206255f, 0.16066f, 0.114757f, 0.359587f, -0.106503f,
-0.0948534f, 0.175358f, -0.122966f, -0.0056675f, 0.483848f,
-0.134916f, -0.427567f, -0.140172f, -1.0866f, -2.73921f,
0.549843f, 0.17685f, 0.0010675f, -0.00137386f, 0.0884424f,
-0.0698736f, -0.00174136f, 0.0718775f, -0.0396849f, 0.0448056f,
0.0577853f, -0.0372353f, 0.134599f, 0.0260656f, 0.140322f,
0.22704f, -0.020568f, -0.0142424f, -0.21723f, -0.997704f,
-0.884573f, -0.163495f, 2.33617f, 0.224142f, 0.19635f,
-0.957387f, 0.144678f, 1.47035f, -0.00700498f, -0.0472309f,
-0.0137848f, -0.0189145f, 0.00856479f, 0.0316965f, 0.00613373f,
0.00209807f, 0.00270964f, -0.0490206f, 0.0105712f, -0.0465045f,
-0.0381532f, -0.0985268f, -0.108297f, 0.0146409f, -0.0040718f,
-0.0698572f, -0.380568f, -0.230479f, 3.98917f, 0.457652f,
-1.02355f, -7.4435f, -0.475314f, 1.61743f, 0.0254017f,
-0.00791293f, 0.047217f, 0.0220995f, -0.0304311f, 0.0052168f,
-0.0404054f, -0.0230293f, 0.00169229f, -0.0138178f, 0.0043137f,
-0.0598088f, -0.133601f, 0.0555138f, -0.177358f, -0.159856f,
-0.137281f, 0.108051f, -0.305973f, 0.393775f, 0.0747287f,
0.783993f, -0.875086f, 1.06862f, 0.340519f, -0.352681f,
-0.0830912f, -0.100017f, 0.0729085f, -0.00829403f, 0.027489f,
-0.0779597f, 0.082286f, -0.164181f, -0.41519f, 0.00282335f,
-0.29573f, 0.125571f, 0.726935f, 0.392137f, 0.491348f,
0.0723196f, -0.0259758f, -0.0636332f, -0.452384f, -0.000225974f,
-2.34001f, 2.45211f, -0.544628f, 5.62944f, -3.44507f,

/* output layer */
-3.13835f, 0.994751f, 0.444901f, 1.59518f, 1.23665f,
3.37012f, -1.34606f, 1.99131f, 1.33476f, 1.3885f,
1.12559f, };

static const int topo[3] = {25, 10, 1};

const MLP net = {
	3,
	topo,
	weights
};