Raw CSV input
Posted: Tue 13. Jan 2015, 10:26
Hello everybody,
I have a problem with the input of raw CSV files. I have a computer with american settings and somewhere on the forum I read this:
"The CSV files which come with this packet have been generated on a machine with German operating system. As such, they use the field limiter 'semocolon' (';') and the decimal limiter 'comma' (',').
Should the script be used on a machine with anglo-american operating system setting then the characters in the CSV files must be replaced accordingly:
First, replace all ',' by '.' - then replace all ';' durch ','""
I did this and now my a piece data looks like:
In1;In2;In3;In4;In5;In6;In7;In8;In9;In10;In11;In12;In13;In14;In15;In16;In17;In18;In19;Out
0;0;0;0;0;0;0;0;0;0;-0,000279252;0;0;0;0;0;-0,000445236;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
-0,000399627;0;0;0;0;0;0;0;0;-0,000465983;0;0;0;0,002351558;0;0;0;0;-0,005064317;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0,000294031;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0,007551791;0
0;0;0;-0,0002292;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0,00059312;0;0;0;0
-0,003186828;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
I have 19 input neurons with the same name as the first line and one output neuron.
If i try to import this I always get the error: "mismatch between I/O definition and patterns".
If I put only the output in a seperate file, than he does accept it, but I can't get him to accept the input...
Does anybody see where it goes wrong?
I have a problem with the input of raw CSV files. I have a computer with american settings and somewhere on the forum I read this:
"The CSV files which come with this packet have been generated on a machine with German operating system. As such, they use the field limiter 'semocolon' (';') and the decimal limiter 'comma' (',').
Should the script be used on a machine with anglo-american operating system setting then the characters in the CSV files must be replaced accordingly:
First, replace all ',' by '.' - then replace all ';' durch ','""
I did this and now my a piece data looks like:
In1;In2;In3;In4;In5;In6;In7;In8;In9;In10;In11;In12;In13;In14;In15;In16;In17;In18;In19;Out
0;0;0;0;0;0;0;0;0;0;-0,000279252;0;0;0;0;0;-0,000445236;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
-0,000399627;0;0;0;0;0;0;0;0;-0,000465983;0;0;0;0,002351558;0;0;0;0;-0,005064317;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0,000294031;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0,007551791;0
0;0;0;-0,0002292;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0,00059312;0;0;0;0
-0,003186828;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0
I have 19 input neurons with the same name as the first line and one output neuron.
If i try to import this I always get the error: "mismatch between I/O definition and patterns".
If I put only the output in a seperate file, than he does accept it, but I can't get him to accept the input...
Does anybody see where it goes wrong?