From: Benjamin Auder Date: Fri, 17 Mar 2017 16:02:44 +0000 (+0100) Subject: advance on data/proprocessing X-Git-Url: https://git.auder.net/variants/Chakart/%7B%7B%20path%28%27fos_user_change_password%27%29%20%7D%7D?a=commitdiff_plain;h=f3eb8aafde095a0f4f7b429c96e9da6cead14ea8;p=epclust.git advance on data/proprocessing --- diff --git a/data/preprocessing/expected_output_test.csv b/data/preprocessing/expected_output_test.csv new file mode 100644 index 0000000..4cd40d7 --- /dev/null +++ b/data/preprocessing/expected_output_test.csv @@ -0,0 +1,3 @@ +1.05,2.,3. +1e4,1.,0. +3.25e2,-2.0e3,15.55 diff --git a/data/preprocessing/input_test.csv b/data/preprocessing/input_test.csv index e69de29..be85ae7 100644 --- a/data/preprocessing/input_test.csv +++ b/data/preprocessing/input_test.csv @@ -0,0 +1,16 @@ +ID,field1,field2,field3 +1,Z28,1.05,NA +1,A32,2.,NA +1,B21,3.,0 +2,F12,1e4,0 +2,H234,1.,1 +2,J785,0.,1 +3,S213,4.,0 +3,NaN,50.,-15,NA +4,R234,2.1e2,1 +4,P0,2,NA +4,D2,-23e3,0 +4,V23,-3.1e1,0 +5,N52,3.25e2,NaN +5,NaN,-2.0e3,NaN +5,I3,15.55,NA diff --git a/data/preprocessing/test_convert.c b/data/preprocessing/test_convert.c deleted file mode 100644 index 20a5807..0000000 --- a/data/preprocessing/test_convert.c +++ /dev/null @@ -1,5 +0,0 @@ -int main(int argc, char** argv) -{ - execl("transform", "input_test.csv", 1, 3, "output_test.csv", ","); - //TODO: diff, .... http://stackoverflow.com/questions/7292642/grabbing-output-from-exec -}