http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/csv/in/transfusion_3.data.single ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/csv/in/transfusion_3.data.single b/src/test/scripts/functions/io/csv/in/transfusion_3.data.single index 1ec0901..1a35bfe 100644 --- a/src/test/scripts/functions/io/csv/in/transfusion_3.data.single +++ b/src/test/scripts/functions/io/csv/in/transfusion_3.data.single @@ -1,749 +1,749 @@ -Recency (months),Frequency (times),Monetary (c.c. blood),Time (months),"whether he/she donated blood in March 2007" -2 ,50,12500,98 ,1 -0 ,13,3250,28 ,1 -1 ,16,4000,35 ,1 -2 ,20,5000,45 ,1 -1 ,24,6000,77 ,0 -4 ,4,1000,4 ,0 -2 ,7,1750,14 ,1 -1 ,12,3000,35 ,0 -2 ,9,2250,22 ,1 -5 ,46,11500,98 ,1 -4 ,23,5750,58 ,0 -0 ,3,750,4 ,0 -2 ,10,2500,28 ,1 -1 ,13,3250,47 ,0 -2 ,6,1500,15 ,1 -2 ,5,1250,11 ,1 -2 ,14,3500,48 ,1 -2 ,15,3750,49 ,1 -2 ,6,1500,15 ,1 -2 ,3,750,4 ,1 -2 ,3,750,4 ,1 -4 ,11,2750,28 ,0 -2 ,6,1500,16 ,1 -2 ,6,1500,16 ,1 -9 ,9,2250,16 ,0 -4 ,14,3500,40 ,0 -4 ,6,1500,14 ,0 -4 ,12,3000,34 ,1 -4 ,5,1250,11 ,1 -4 ,8,2000,21 ,0 -1 ,14,3500,58 ,0 -4 ,10,2500,28 ,1 -4 ,10,2500,28 ,1 -4 ,9,2250,26 ,1 -2 ,16,4000,64 ,0 -2 ,8,2000,28 ,1 -2 ,12,3000,47 ,1 -4 ,6,1500,16 ,1 -2 ,14,3500,57 ,1 -4 ,7,1750,22 ,1 -2 ,13,3250,53 ,1 -2 ,5,1250,16 ,0 -2 ,5,1250,16 ,1 -2 ,5,1250,16 ,0 -4 ,20,5000,69 ,1 -4 ,9,2250,28 ,1 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17,4250,79 ,1 -9 ,2,500,11 ,0 -4 ,5,1250,46 ,0 -11 ,12,3000,58 ,0 -7 ,12,3000,86 ,0 -11 ,2,500,11 ,0 -11 ,2,500,11 ,0 -11 ,2,500,11 ,0 -2 ,6,1500,75 ,0 -11 ,8,2000,41 ,1 -11 ,3,750,16 ,1 -12 ,13,3250,59 ,0 -2 ,3,750,35 ,0 -16 ,8,2000,28 ,0 -11 ,7,1750,37 ,0 -4 ,3,750,28 ,0 -12 ,12,3000,58 ,0 -4 ,4,1000,41 ,0 -11 ,14,3500,73 ,1 -2 ,2,500,23 ,0 -2 ,3,750,38 ,1 -4 ,5,1250,58 ,0 -4 ,4,1000,43 ,1 -3 ,2,500,23 ,0 -11 ,8,2000,46 ,0 -4 ,7,1750,82 ,0 -13 ,4,1000,21 ,0 -16 ,11,2750,40 ,0 -16 ,7,1750,28 ,0 -7 ,2,500,16 ,0 -4 ,5,1250,58 ,0 -4 ,5,1250,58 ,0 -4 ,4,1000,46 ,0 -14 ,13,3250,57 ,0 -4 ,3,750,34 ,0 -14 ,18,4500,78 ,0 -11 ,8,2000,48 ,0 -14 ,16,4000,70 ,0 -14 ,4,1000,22 ,1 -14 ,5,1250,26 ,0 -8 ,2,500,16 ,0 -11 ,5,1250,33 ,0 -11 ,2,500,14 ,0 -4 ,2,500,23 ,0 -9 ,2,500,16 ,1 -14 ,5,1250,28 ,1 -14 ,3,750,19 ,1 -14 ,4,1000,23 ,1 -16 ,12,3000,50 ,0 -11 ,4,1000,28 ,0 -11 ,5,1250,35 ,0 -11 ,5,1250,35 ,0 -2 ,4,1000,70 ,0 -14 ,5,1250,28 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -2 ,3,750,52 ,0 -14 ,6,1500,34 ,0 -11 ,5,1250,37 ,1 -4 ,5,1250,74 ,0 -11 ,3,750,23 ,0 -16 ,4,1000,23 ,0 -16 ,3,750,19 ,0 -11 ,5,1250,38 ,0 -11 ,2,500,16 ,0 -12 ,9,2250,60 ,0 -9 ,1,250,9 ,0 -9 ,1,250,9 ,0 -4 ,2,500,29 ,0 -11 ,2,500,17 ,0 -14 ,4,1000,26 ,0 -11 ,9,2250,72 ,1 -11 ,5,1250,41 ,0 -15 ,16,4000,82 ,0 -9 ,5,1250,51 ,1 -11 ,4,1000,34 ,0 -14 ,8,2000,50 ,1 -16 ,7,1750,38 ,0 -14 ,2,500,16 ,0 -2 ,2,500,41 ,0 -14 ,16,4000,98 ,0 -14 ,4,1000,28 ,1 -16 ,7,1750,39 ,0 -14 ,7,1750,47 ,0 -16 ,6,1500,35 ,0 -16 ,6,1500,35 ,1 -11 ,7,1750,62 ,1 -16 ,2,500,16 ,0 -16 ,3,750,21 ,1 -11 ,3,750,28 ,0 -11 ,7,1750,64 ,0 -11 ,1,250,11 ,1 -9 ,3,750,34 ,0 -14 ,4,1000,30 ,0 -23 ,38,9500,98 ,0 -11 ,6,1500,58 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,2,500,21 ,0 -11 ,5,1250,50 ,0 -11 ,2,500,21 ,0 -16 ,4,1000,28 ,0 -4 ,2,500,41 ,0 -16 ,6,1500,40 ,0 -14 ,3,750,26 ,0 -9 ,2,500,26 ,0 -21 ,16,4000,64 ,0 -14 ,6,1500,51 ,0 -11 ,2,500,24 ,0 -4 ,3,750,71 ,0 -21 ,13,3250,57 ,0 -11 ,6,1500,71 ,0 -14 ,2,500,21 ,1 -23 ,15,3750,57 ,0 -14 ,4,1000,38 ,0 -11 ,2,500,26 ,0 -16 ,5,1250,40 ,1 -4 ,2,500,51 ,1 -14 ,3,750,31 ,0 -4 ,2,500,52 ,0 -9 ,4,1000,65 ,0 -14 ,4,1000,40 ,0 -11 ,3,750,40 ,1 -14 ,5,1250,50 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,7,1750,72 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -9 ,3,750,52 ,0 -14 ,7,1750,73 ,0 -11 ,4,1000,58 ,0 -11 ,4,1000,59 ,0 -4 ,2,500,59 ,0 -11 ,4,1000,61 ,0 -16 ,4,1000,40 ,0 -16 ,10,2500,89 ,0 -21 ,2,500,21 ,1 -21 ,3,750,26 ,0 -16 ,8,2000,76 ,0 -21 ,3,750,26 ,1 -18 ,2,500,23 ,0 -23 ,5,1250,33 ,0 -23 ,8,2000,46 ,0 -16 ,3,750,34 ,0 -14 ,5,1250,64 ,0 -14 ,3,750,41 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,4,1000,45 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,2,500,26 ,0 -21 ,2,500,23 ,0 -16 ,2,500,27 ,0 -21 ,2,500,23 ,0 -21 ,2,500,23 ,0 -14 ,4,1000,57 ,0 -16 ,5,1250,60 ,0 -23 ,2,500,23 ,0 -14 ,5,1250,74 ,0 -23 ,3,750,28 ,0 -16 ,3,750,40 ,0 -9 ,2,500,52 ,0 -9 ,2,500,52 ,0 -16 ,7,1750,87 ,1 -14 ,4,1000,64 ,0 -14 ,2,500,35 ,0 -16 ,7,1750,93 ,0 -21 ,2,500,25 ,0 -14 ,3,750,52 ,0 -23 ,14,3500,93 ,0 -18 ,8,2000,95 ,0 -16 ,3,750,46 ,0 -11 ,3,750,76 ,0 -11 ,2,500,52 ,0 -11 ,3,750,76 ,0 -23 ,12,3000,86 ,0 -21 ,3,750,35 ,0 -23 ,2,500,26 ,0 -23 ,2,500,26 ,0 -23 ,8,2000,64 ,0 -16 ,3,750,50 ,0 -23 ,3,750,33 ,0 -21 ,3,750,38 ,0 -23 ,2,500,28 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,1 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,5,1250,60 ,0 -23 ,4,1000,45 ,0 -21 ,4,1000,52 ,0 -22 ,1,250,22 ,1 -11 ,2,500,70 ,0 -23 ,5,1250,58 ,0 -23 ,3,750,40 ,0 -23 ,3,750,41 ,0 -14 ,3,750,83 ,0 -21 ,2,500,35 ,0 -26 ,5,1250,49 ,1 -23 ,6,1500,70 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,4,1000,53 ,0 -21 ,6,1500,86 ,0 -23 ,3,750,48 ,0 -21 ,2,500,41 ,0 -21 ,3,750,64 ,0 -16 ,2,500,70 ,0 -21 ,3,750,70 ,0 -23 ,4,1000,87 ,0 -23 ,3,750,89 ,0 -23 ,2,500,87 ,0 -35 ,3,750,64 ,0 -38 ,1,250,38 ,0 -38 ,1,250,38 ,0 -40 ,1,250,40 ,0 -74 ,1,250,74 ,0 -2 ,43,10750,86 ,1 -6 ,22,5500,28 ,1 -2 ,34,8500,77 ,1 -2 ,44,11000,98 ,0 -0 ,26,6500,76 ,1 -2 ,41,10250,98 ,1 -3 ,21,5250,42 ,1 -2 ,11,2750,23 ,0 -2 ,21,5250,52 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,89 ,1 -11 ,8,2000,52 ,1 -7 ,5,1250,52 ,0 -11 ,6,1500,41 ,0 -10 ,5,1250,38 ,0 -14 ,2,500,14 ,1 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -2 ,2,500,33 ,0 -11 ,3,750,23 ,0 -14 ,8,2000,46 ,0 -9 ,1,250,9 ,0 -16 ,5,1250,27 ,0 -14 ,4,1000,26 ,0 -4 ,2,500,30 ,0 -14 ,3,750,21 ,0 -16 ,16,4000,77 ,0 -4 ,2,500,31 ,0 -14 ,8,2000,50 ,0 -11 ,3,750,26 ,0 -14 ,7,1750,45 ,0 -15 ,5,1250,33 ,0 -16 ,2,500,16 ,0 -16 ,3,750,21 ,0 -11 ,8,2000,72 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,1 -11 ,1,250,11 ,0 -2 ,3,750,75 ,1 -2 ,3,750,77 ,0 -16 ,4,1000,28 ,0 -16 ,15,3750,87 ,0 -16 ,14,3500,83 ,0 -16 ,10,2500,62 ,0 -16 ,3,750,23 ,0 -14 ,3,750,26 ,0 -23 ,19,4750,62 ,0 -11 ,7,1750,75 ,0 -14 ,3,750,28 ,0 -20 ,14,3500,69 ,1 -4 ,2,500,46 ,0 -11 ,2,500,25 ,0 -11 ,3,750,37 ,0 -16 ,4,1000,33 ,0 -21 ,7,1750,38 ,0 -13 ,7,1750,76 ,0 -16 ,6,1500,50 ,0 -14 ,3,750,33 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -17 ,7,1750,58 ,1 -14 ,3,750,35 ,0 -14 ,3,750,35 ,0 -16 ,7,1750,64 ,0 -21 ,2,500,21 ,0 -16 ,3,750,35 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -14 ,2,500,29 ,0 -11 ,4,1000,74 ,0 -11 ,2,500,38 ,1 -21 ,6,1500,48 ,0 -23 ,2,500,23 ,0 -23 ,6,1500,45 ,0 -14 ,2,500,35 ,1 -16 ,6,1500,81 ,0 -16 ,4,1000,58 ,0 -16 ,5,1250,71 ,0 -21 ,2,500,26 ,0 -21 ,3,750,35 ,0 -21 ,3,750,35 ,0 -23 ,8,2000,69 ,0 -21 ,3,750,38 ,0 -23 ,3,750,35 ,0 -21 ,3,750,40 ,0 -23 ,2,500,28 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -25 ,6,1500,50 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -23 ,3,750,39 ,0 -21 ,2,500,33 ,0 -14 ,3,750,79 ,0 -23 ,1,250,23 ,1 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,4,1000,52 ,0 -23 ,1,250,23 ,0 -23 ,7,1750,88 ,0 -16 ,3,750,86 ,0 -23 ,2,500,38 ,0 -21 ,2,500,52 ,0 -23 ,3,750,62 ,0 -39 ,1,250,39 ,0 +Recency (months),Frequency (times),Monetary (c.c. blood),Time (months),"whether he/she donated blood in March 2007" +2 ,50,12500,98 ,1 +0 ,13,3250,28 ,1 +1 ,16,4000,35 ,1 +2 ,20,5000,45 ,1 +1 ,24,6000,77 ,0 +4 ,4,1000,4 ,0 +2 ,7,1750,14 ,1 +1 ,12,3000,35 ,0 +2 ,9,2250,22 ,1 +5 ,46,11500,98 ,1 +4 ,23,5750,58 ,0 +0 ,3,750,4 ,0 +2 ,10,2500,28 ,1 +1 ,13,3250,47 ,0 +2 ,6,1500,15 ,1 +2 ,5,1250,11 ,1 +2 ,14,3500,48 ,1 +2 ,15,3750,49 ,1 +2 ,6,1500,15 ,1 +2 ,3,750,4 ,1 +2 ,3,750,4 ,1 +4 ,11,2750,28 ,0 +2 ,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1250,33 ,0 +11 ,2,500,14 ,0 +4 ,2,500,23 ,0 +9 ,2,500,16 ,1 +14 ,5,1250,28 ,1 +14 ,3,750,19 ,1 +14 ,4,1000,23 ,1 +16 ,12,3000,50 ,0 +11 ,4,1000,28 ,0 +11 ,5,1250,35 ,0 +11 ,5,1250,35 ,0 +2 ,4,1000,70 ,0 +14 ,5,1250,28 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +2 ,3,750,52 ,0 +14 ,6,1500,34 ,0 +11 ,5,1250,37 ,1 +4 ,5,1250,74 ,0 +11 ,3,750,23 ,0 +16 ,4,1000,23 ,0 +16 ,3,750,19 ,0 +11 ,5,1250,38 ,0 +11 ,2,500,16 ,0 +12 ,9,2250,60 ,0 +9 ,1,250,9 ,0 +9 ,1,250,9 ,0 +4 ,2,500,29 ,0 +11 ,2,500,17 ,0 +14 ,4,1000,26 ,0 +11 ,9,2250,72 ,1 +11 ,5,1250,41 ,0 +15 ,16,4000,82 ,0 +9 ,5,1250,51 ,1 +11 ,4,1000,34 ,0 +14 ,8,2000,50 ,1 +16 ,7,1750,38 ,0 +14 ,2,500,16 ,0 +2 ,2,500,41 ,0 +14 ,16,4000,98 ,0 +14 ,4,1000,28 ,1 +16 ,7,1750,39 ,0 +14 ,7,1750,47 ,0 +16 ,6,1500,35 ,0 +16 ,6,1500,35 ,1 +11 ,7,1750,62 ,1 +16 ,2,500,16 ,0 +16 ,3,750,21 ,1 +11 ,3,750,28 ,0 +11 ,7,1750,64 ,0 +11 ,1,250,11 ,1 +9 ,3,750,34 ,0 +14 ,4,1000,30 ,0 +23 ,38,9500,98 ,0 +11 ,6,1500,58 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,2,500,21 ,0 +11 ,5,1250,50 ,0 +11 ,2,500,21 ,0 +16 ,4,1000,28 ,0 +4 ,2,500,41 ,0 +16 ,6,1500,40 ,0 +14 ,3,750,26 ,0 +9 ,2,500,26 ,0 +21 ,16,4000,64 ,0 +14 ,6,1500,51 ,0 +11 ,2,500,24 ,0 +4 ,3,750,71 ,0 +21 ,13,3250,57 ,0 +11 ,6,1500,71 ,0 +14 ,2,500,21 ,1 +23 ,15,3750,57 ,0 +14 ,4,1000,38 ,0 +11 ,2,500,26 ,0 +16 ,5,1250,40 ,1 +4 ,2,500,51 ,1 +14 ,3,750,31 ,0 +4 ,2,500,52 ,0 +9 ,4,1000,65 ,0 +14 ,4,1000,40 ,0 +11 ,3,750,40 ,1 +14 ,5,1250,50 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,7,1750,72 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +9 ,3,750,52 ,0 +14 ,7,1750,73 ,0 +11 ,4,1000,58 ,0 +11 ,4,1000,59 ,0 +4 ,2,500,59 ,0 +11 ,4,1000,61 ,0 +16 ,4,1000,40 ,0 +16 ,10,2500,89 ,0 +21 ,2,500,21 ,1 +21 ,3,750,26 ,0 +16 ,8,2000,76 ,0 +21 ,3,750,26 ,1 +18 ,2,500,23 ,0 +23 ,5,1250,33 ,0 +23 ,8,2000,46 ,0 +16 ,3,750,34 ,0 +14 ,5,1250,64 ,0 +14 ,3,750,41 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,4,1000,45 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,2,500,26 ,0 +21 ,2,500,23 ,0 +16 ,2,500,27 ,0 +21 ,2,500,23 ,0 +21 ,2,500,23 ,0 +14 ,4,1000,57 ,0 +16 ,5,1250,60 ,0 +23 ,2,500,23 ,0 +14 ,5,1250,74 ,0 +23 ,3,750,28 ,0 +16 ,3,750,40 ,0 +9 ,2,500,52 ,0 +9 ,2,500,52 ,0 +16 ,7,1750,87 ,1 +14 ,4,1000,64 ,0 +14 ,2,500,35 ,0 +16 ,7,1750,93 ,0 +21 ,2,500,25 ,0 +14 ,3,750,52 ,0 +23 ,14,3500,93 ,0 +18 ,8,2000,95 ,0 +16 ,3,750,46 ,0 +11 ,3,750,76 ,0 +11 ,2,500,52 ,0 +11 ,3,750,76 ,0 +23 ,12,3000,86 ,0 +21 ,3,750,35 ,0 +23 ,2,500,26 ,0 +23 ,2,500,26 ,0 +23 ,8,2000,64 ,0 +16 ,3,750,50 ,0 +23 ,3,750,33 ,0 +21 ,3,750,38 ,0 +23 ,2,500,28 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,1 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,5,1250,60 ,0 +23 ,4,1000,45 ,0 +21 ,4,1000,52 ,0 +22 ,1,250,22 ,1 +11 ,2,500,70 ,0 +23 ,5,1250,58 ,0 +23 ,3,750,40 ,0 +23 ,3,750,41 ,0 +14 ,3,750,83 ,0 +21 ,2,500,35 ,0 +26 ,5,1250,49 ,1 +23 ,6,1500,70 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,4,1000,53 ,0 +21 ,6,1500,86 ,0 +23 ,3,750,48 ,0 +21 ,2,500,41 ,0 +21 ,3,750,64 ,0 +16 ,2,500,70 ,0 +21 ,3,750,70 ,0 +23 ,4,1000,87 ,0 +23 ,3,750,89 ,0 +23 ,2,500,87 ,0 +35 ,3,750,64 ,0 +38 ,1,250,38 ,0 +38 ,1,250,38 ,0 +40 ,1,250,40 ,0 +74 ,1,250,74 ,0 +2 ,43,10750,86 ,1 +6 ,22,5500,28 ,1 +2 ,34,8500,77 ,1 +2 ,44,11000,98 ,0 +0 ,26,6500,76 ,1 +2 ,41,10250,98 ,1 +3 ,21,5250,42 ,1 +2 ,11,2750,23 ,0 +2 ,21,5250,52 ,1 +2 ,13,3250,32 ,1 +4 ,4,1000,4 ,1 +2 ,11,2750,26 ,0 +2 ,11,2750,28 ,0 +3 ,14,3500,35 ,0 +4 ,16,4000,38 ,1 +4 ,6,1500,14 ,0 +3 ,5,1250,12 ,1 +4 ,33,8250,98 ,1 +3 ,10,2500,33 ,1 +4 ,10,2500,28 ,1 +2 ,11,2750,40 ,1 +2 ,11,2750,41 ,1 +4 ,13,3250,39 ,1 +1 ,10,2500,43 ,1 +4 ,9,2250,28 ,0 +2 ,4,1000,11 ,0 +2 ,5,1250,16 ,1 +2 ,15,3750,64 ,0 +5 ,24,6000,79 ,0 +2 ,6,1500,22 ,1 +4 ,5,1250,16 ,1 +2 ,4,1000,14 ,1 +4 ,8,2000,28 ,0 +2 ,4,1000,14 ,0 +2 ,6,1500,26 ,0 +4 ,5,1250,16 ,1 +2 ,7,1750,32 ,1 +2 ,6,1500,26 ,1 +2 ,8,2000,38 ,1 +2 ,2,500,4 ,1 +2 ,6,1500,28 ,1 +2 ,10,2500,52 ,0 +4 ,16,4000,70 ,1 +4 ,2,500,4 ,1 +1 ,14,3500,95 ,0 +4 ,2,500,4 ,1 +7 ,14,3500,48 ,0 +2 ,3,750,11 ,0 +2 ,12,3000,70 ,1 +4 ,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,1,250,4 ,0 +4 ,1,250,4 ,0 +4 ,1,250,4 ,0 +4 ,1,250,4 ,1 +4 ,1,250,4 ,0 +4 ,7,1750,62 ,0 +4 ,1,250,4 ,0 +4 ,4,1000,34 ,1 +11 ,6,1500,28 ,0 +13 ,3,750,14 ,1 +7 ,5,1250,35 ,0 +9 ,9,2250,54 ,0 +11 ,2,500,11 ,0 +2 ,5,1250,63 ,0 +7 ,11,2750,89 ,0 +8 ,9,2250,64 ,0 +2 ,2,500,22 ,0 +6 ,3,750,26 ,0 +12 ,15,3750,71 ,0 +13 ,3,750,16 ,0 +11 ,16,4000,89 ,0 +4 ,5,1250,58 ,0 +14 ,7,1750,35 ,0 +11 ,4,1000,27 ,0 +7 ,9,2250,89 ,1 +11 ,8,2000,52 ,1 +7 ,5,1250,52 ,0 +11 ,6,1500,41 ,0 +10 ,5,1250,38 ,0 +14 ,2,500,14 ,1 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +2 ,2,500,33 ,0 +11 ,3,750,23 ,0 +14 ,8,2000,46 ,0 +9 ,1,250,9 ,0 +16 ,5,1250,27 ,0 +14 ,4,1000,26 ,0 +4 ,2,500,30 ,0 +14 ,3,750,21 ,0 +16 ,16,4000,77 ,0 +4 ,2,500,31 ,0 +14 ,8,2000,50 ,0 +11 ,3,750,26 ,0 +14 ,7,1750,45 ,0 +15 ,5,1250,33 ,0 +16 ,2,500,16 ,0 +16 ,3,750,21 ,0 +11 ,8,2000,72 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,1 +11 ,1,250,11 ,0 +2 ,3,750,75 ,1 +2 ,3,750,77 ,0 +16 ,4,1000,28 ,0 +16 ,15,3750,87 ,0 +16 ,14,3500,83 ,0 +16 ,10,2500,62 ,0 +16 ,3,750,23 ,0 +14 ,3,750,26 ,0 +23 ,19,4750,62 ,0 +11 ,7,1750,75 ,0 +14 ,3,750,28 ,0 +20 ,14,3500,69 ,1 +4 ,2,500,46 ,0 +11 ,2,500,25 ,0 +11 ,3,750,37 ,0 +16 ,4,1000,33 ,0 +21 ,7,1750,38 ,0 +13 ,7,1750,76 ,0 +16 ,6,1500,50 ,0 +14 ,3,750,33 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +17 ,7,1750,58 ,1 +14 ,3,750,35 ,0 +14 ,3,750,35 ,0 +16 ,7,1750,64 ,0 +21 ,2,500,21 ,0 +16 ,3,750,35 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +14 ,2,500,29 ,0 +11 ,4,1000,74 ,0 +11 ,2,500,38 ,1 +21 ,6,1500,48 ,0 +23 ,2,500,23 ,0 +23 ,6,1500,45 ,0 +14 ,2,500,35 ,1 +16 ,6,1500,81 ,0 +16 ,4,1000,58 ,0 +16 ,5,1250,71 ,0 +21 ,2,500,26 ,0 +21 ,3,750,35 ,0 +21 ,3,750,35 ,0 +23 ,8,2000,69 ,0 +21 ,3,750,38 ,0 +23 ,3,750,35 ,0 +21 ,3,750,40 ,0 +23 ,2,500,28 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +25 ,6,1500,50 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +23 ,3,750,39 ,0 +21 ,2,500,33 ,0 +14 ,3,750,79 ,0 +23 ,1,250,23 ,1 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,4,1000,52 ,0 +23 ,1,250,23 ,0 +23 ,7,1750,88 ,0 +16 ,3,750,86 ,0 +23 ,2,500,38 ,0 +21 ,2,500,52 ,0 +23 ,3,750,62 ,0 +39 ,1,250,39 ,0 72 ,1,250,72 ,0 \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-0 ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-0 b/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-0 index 831646e..c1b8ba5 100644 --- a/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-0 +++ b/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-0 @@ -1,691 +1,691 @@ -Recency (months),Frequency (times),Monetary (c.c. blood),Time (months),"whether he/she donated blood in March 2007" -2 ,50,12500,98 ,1 -0 ,13,3250,28 ,1 -1 ,16,4000,35 ,1 -2 ,20,5000,45 ,1 -1 ,24,6000,77 ,0 -4 ,4,1000,4 ,0 -2 ,7,1750,14 ,1 -1 ,12,3000,35 ,0 -2 ,9,2250,22 ,1 -5 ,46,11500,98 ,1 -4 ,23,5750,58 ,0 -0 ,3,750,4 ,0 -2 ,10,2500,28 ,1 -1 ,13,3250,47 ,0 -2 ,6,1500,15 ,1 -2 ,5,1250,11 ,1 -2 ,14,3500,48 ,1 -2 ,15,3750,49 ,1 -2 ,6,1500,15 ,1 -2 ,3,750,4 ,1 -2 ,3,750,4 ,1 -4 ,11,2750,28 ,0 -2 ,6,1500,16 ,1 -2 ,6,1500,16 ,1 -9 ,9,2250,16 ,0 -4 ,14,3500,40 ,0 -4 ,6,1500,14 ,0 -4 ,12,3000,34 ,1 -4 ,5,1250,11 ,1 -4 ,8,2000,21 ,0 -1 ,14,3500,58 ,0 -4 ,10,2500,28 ,1 -4 ,10,2500,28 ,1 -4 ,9,2250,26 ,1 -2 ,16,4000,64 ,0 -2 ,8,2000,28 ,1 -2 ,12,3000,47 ,1 -4 ,6,1500,16 ,1 -2 ,14,3500,57 ,1 -4 ,7,1750,22 ,1 -2 ,13,3250,53 ,1 -2 ,5,1250,16 ,0 -2 ,5,1250,16 ,1 -2 ,5,1250,16 ,0 -4 ,20,5000,69 ,1 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,3,750,25 ,1 -11 ,17,4250,79 ,1 -9 ,2,500,11 ,0 -4 ,5,1250,46 ,0 -11 ,12,3000,58 ,0 -7 ,12,3000,86 ,0 -11 ,2,500,11 ,0 -11 ,2,500,11 ,0 -11 ,2,500,11 ,0 -2 ,6,1500,75 ,0 -11 ,8,2000,41 ,1 -11 ,3,750,16 ,1 -12 ,13,3250,59 ,0 -2 ,3,750,35 ,0 -16 ,8,2000,28 ,0 -11 ,7,1750,37 ,0 -4 ,3,750,28 ,0 -12 ,12,3000,58 ,0 -4 ,4,1000,41 ,0 -11 ,14,3500,73 ,1 -2 ,2,500,23 ,0 -2 ,3,750,38 ,1 -4 ,5,1250,58 ,0 -4 ,4,1000,43 ,1 -3 ,2,500,23 ,0 -11 ,8,2000,46 ,0 -4 ,7,1750,82 ,0 -13 ,4,1000,21 ,0 -16 ,11,2750,40 ,0 -16 ,7,1750,28 ,0 -7 ,2,500,16 ,0 -4 ,5,1250,58 ,0 -4 ,5,1250,58 ,0 -4 ,4,1000,46 ,0 -14 ,13,3250,57 ,0 -4 ,3,750,34 ,0 -14 ,18,4500,78 ,0 -11 ,8,2000,48 ,0 -14 ,16,4000,70 ,0 -14 ,4,1000,22 ,1 -14 ,5,1250,26 ,0 -8 ,2,500,16 ,0 -11 ,5,1250,33 ,0 -11 ,2,500,14 ,0 -4 ,2,500,23 ,0 -9 ,2,500,16 ,1 -14 ,5,1250,28 ,1 -14 ,3,750,19 ,1 -14 ,4,1000,23 ,1 -16 ,12,3000,50 ,0 -11 ,4,1000,28 ,0 -11 ,5,1250,35 ,0 -11 ,5,1250,35 ,0 -2 ,4,1000,70 ,0 -14 ,5,1250,28 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -2 ,3,750,52 ,0 -14 ,6,1500,34 ,0 -11 ,5,1250,37 ,1 -4 ,5,1250,74 ,0 -11 ,3,750,23 ,0 -16 ,4,1000,23 ,0 -16 ,3,750,19 ,0 -11 ,5,1250,38 ,0 -11 ,2,500,16 ,0 -12 ,9,2250,60 ,0 -9 ,1,250,9 ,0 -9 ,1,250,9 ,0 -4 ,2,500,29 ,0 -11 ,2,500,17 ,0 -14 ,4,1000,26 ,0 -11 ,9,2250,72 ,1 -11 ,5,1250,41 ,0 -15 ,16,4000,82 ,0 -9 ,5,1250,51 ,1 -11 ,4,1000,34 ,0 -14 ,8,2000,50 ,1 -16 ,7,1750,38 ,0 -14 ,2,500,16 ,0 -2 ,2,500,41 ,0 -14 ,16,4000,98 ,0 -14 ,4,1000,28 ,1 -16 ,7,1750,39 ,0 -14 ,7,1750,47 ,0 -16 ,6,1500,35 ,0 -16 ,6,1500,35 ,1 -11 ,7,1750,62 ,1 -16 ,2,500,16 ,0 -16 ,3,750,21 ,1 -11 ,3,750,28 ,0 -11 ,7,1750,64 ,0 -11 ,1,250,11 ,1 -9 ,3,750,34 ,0 -14 ,4,1000,30 ,0 -23 ,38,9500,98 ,0 -11 ,6,1500,58 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,2,500,21 ,0 -11 ,5,1250,50 ,0 -11 ,2,500,21 ,0 -16 ,4,1000,28 ,0 -4 ,2,500,41 ,0 -16 ,6,1500,40 ,0 -14 ,3,750,26 ,0 -9 ,2,500,26 ,0 -21 ,16,4000,64 ,0 -14 ,6,1500,51 ,0 -11 ,2,500,24 ,0 -4 ,3,750,71 ,0 -21 ,13,3250,57 ,0 -11 ,6,1500,71 ,0 -14 ,2,500,21 ,1 -23 ,15,3750,57 ,0 -14 ,4,1000,38 ,0 -11 ,2,500,26 ,0 -16 ,5,1250,40 ,1 -4 ,2,500,51 ,1 -14 ,3,750,31 ,0 -4 ,2,500,52 ,0 -9 ,4,1000,65 ,0 -14 ,4,1000,40 ,0 -11 ,3,750,40 ,1 -14 ,5,1250,50 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,7,1750,72 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -9 ,3,750,52 ,0 -14 ,7,1750,73 ,0 -11 ,4,1000,58 ,0 -11 ,4,1000,59 ,0 -4 ,2,500,59 ,0 -11 ,4,1000,61 ,0 -16 ,4,1000,40 ,0 -16 ,10,2500,89 ,0 -21 ,2,500,21 ,1 -21 ,3,750,26 ,0 -16 ,8,2000,76 ,0 -21 ,3,750,26 ,1 -18 ,2,500,23 ,0 -23 ,5,1250,33 ,0 -23 ,8,2000,46 ,0 -16 ,3,750,34 ,0 -14 ,5,1250,64 ,0 -14 ,3,750,41 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,4,1000,45 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,2,500,26 ,0 -21 ,2,500,23 ,0 -16 ,2,500,27 ,0 -21 ,2,500,23 ,0 -21 ,2,500,23 ,0 -14 ,4,1000,57 ,0 -16 ,5,1250,60 ,0 -23 ,2,500,23 ,0 -14 ,5,1250,74 ,0 -23 ,3,750,28 ,0 -16 ,3,750,40 ,0 -9 ,2,500,52 ,0 -9 ,2,500,52 ,0 -16 ,7,1750,87 ,1 -14 ,4,1000,64 ,0 -14 ,2,500,35 ,0 -16 ,7,1750,93 ,0 -21 ,2,500,25 ,0 -14 ,3,750,52 ,0 -23 ,14,3500,93 ,0 -18 ,8,2000,95 ,0 -16 ,3,750,46 ,0 -11 ,3,750,76 ,0 -11 ,2,500,52 ,0 -11 ,3,750,76 ,0 -23 ,12,3000,86 ,0 -21 ,3,750,35 ,0 -23 ,2,500,26 ,0 -23 ,2,500,26 ,0 -23 ,8,2000,64 ,0 -16 ,3,750,50 ,0 -23 ,3,750,33 ,0 -21 ,3,750,38 ,0 -23 ,2,500,28 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,1 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -21 ,5,1250,60 ,0 -23 ,4,1000,45 ,0 -21 ,4,1000,52 ,0 -22 ,1,250,22 ,1 -11 ,2,500,70 ,0 -23 ,5,1250,58 ,0 -23 ,3,750,40 ,0 -23 ,3,750,41 ,0 -14 ,3,750,83 ,0 -21 ,2,500,35 ,0 -26 ,5,1250,49 ,1 -23 ,6,1500,70 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,4,1000,53 ,0 -21 ,6,1500,86 ,0 -23 ,3,750,48 ,0 -21 ,2,500,41 ,0 -21 ,3,750,64 ,0 -16 ,2,500,70 ,0 -21 ,3,750,70 ,0 -23 ,4,1000,87 ,0 -23 ,3,750,89 ,0 -23 ,2,500,87 ,0 -35 ,3,750,64 ,0 -38 ,1,250,38 ,0 -38 ,1,250,38 ,0 -40 ,1,250,40 ,0 -74 ,1,250,74 ,0 -2 ,43,10750,86 ,1 -6 ,22,5500,28 ,1 -2 ,34,8500,77 ,1 -2 ,44,11000,98 ,0 -0 ,26,6500,76 ,1 -2 ,41,10250,98 ,1 -3 ,21,5250,42 ,1 -2 ,11,2750,23 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,27 ,0 -7 ,9,2250,89 ,1 -11 ,8,2000,52 ,1 -7 ,5,1250,52 ,0 -11 ,6,1500,41 ,0 -10 ,5,1250,38 ,0 -14 ,2,500,14 ,1 -14 ,2,500,14 ,0 -14 ,2,500,14 ,0 -2 ,2,500,33 ,0 -11 ,3,750,23 ,0 -14 ,8,2000,46 ,0 -9 ,1,250,9 ,0 -16 ,5,1250,27 ,0 -14 ,4,1000,26 ,0 -4 ,2,500,30 ,0 -14 ,3,750,21 ,0 -16 ,16,4000,77 ,0 -4 ,2,500,31 ,0 -14 ,8,2000,50 ,0 -11 ,3,750,26 ,0 -14 ,7,1750,45 ,0 -15 ,5,1250,33 ,0 -16 ,2,500,16 ,0 -16 ,3,750,21 ,0 -11 ,8,2000,72 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,0 -11 ,1,250,11 ,1 -11 ,1,250,11 ,0 -2 ,3,750,75 ,1 -2 ,3,750,77 ,0 -16 ,4,1000,28 ,0 -16 ,15,3750,87 ,0 -16 ,14,3500,83 ,0 -16 ,10,2500,62 ,0 -16 ,3,750,23 ,0 -14 ,3,750,26 ,0 -23 ,19,4750,62 ,0 -11 ,7,1750,75 ,0 -14 ,3,750,28 ,0 -20 ,14,3500,69 ,1 -4 ,2,500,46 ,0 -11 ,2,500,25 ,0 -11 ,3,750,37 ,0 -16 ,4,1000,33 ,0 -21 ,7,1750,38 ,0 -13 ,7,1750,76 ,0 -16 ,6,1500,50 ,0 -14 ,3,750,33 ,0 +Recency (months),Frequency (times),Monetary (c.c. blood),Time (months),"whether he/she donated blood in March 2007" +2 ,50,12500,98 ,1 +0 ,13,3250,28 ,1 +1 ,16,4000,35 ,1 +2 ,20,5000,45 ,1 +1 ,24,6000,77 ,0 +4 ,4,1000,4 ,0 +2 ,7,1750,14 ,1 +1 ,12,3000,35 ,0 +2 ,9,2250,22 ,1 +5 ,46,11500,98 ,1 +4 ,23,5750,58 ,0 +0 ,3,750,4 ,0 +2 ,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1250,58 ,0 +4 ,4,1000,46 ,0 +14 ,13,3250,57 ,0 +4 ,3,750,34 ,0 +14 ,18,4500,78 ,0 +11 ,8,2000,48 ,0 +14 ,16,4000,70 ,0 +14 ,4,1000,22 ,1 +14 ,5,1250,26 ,0 +8 ,2,500,16 ,0 +11 ,5,1250,33 ,0 +11 ,2,500,14 ,0 +4 ,2,500,23 ,0 +9 ,2,500,16 ,1 +14 ,5,1250,28 ,1 +14 ,3,750,19 ,1 +14 ,4,1000,23 ,1 +16 ,12,3000,50 ,0 +11 ,4,1000,28 ,0 +11 ,5,1250,35 ,0 +11 ,5,1250,35 ,0 +2 ,4,1000,70 ,0 +14 ,5,1250,28 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +14 ,2,500,14 ,0 +2 ,3,750,52 ,0 +14 ,6,1500,34 ,0 +11 ,5,1250,37 ,1 +4 ,5,1250,74 ,0 +11 ,3,750,23 ,0 +16 ,4,1000,23 ,0 +16 ,3,750,19 ,0 +11 ,5,1250,38 ,0 +11 ,2,500,16 ,0 +12 ,9,2250,60 ,0 +9 ,1,250,9 ,0 +9 ,1,250,9 ,0 +4 ,2,500,29 ,0 +11 ,2,500,17 ,0 +14 ,4,1000,26 ,0 +11 ,9,2250,72 ,1 +11 ,5,1250,41 ,0 +15 ,16,4000,82 ,0 +9 ,5,1250,51 ,1 +11 ,4,1000,34 ,0 +14 ,8,2000,50 ,1 +16 ,7,1750,38 ,0 +14 ,2,500,16 ,0 +2 ,2,500,41 ,0 +14 ,16,4000,98 ,0 +14 ,4,1000,28 ,1 +16 ,7,1750,39 ,0 +14 ,7,1750,47 ,0 +16 ,6,1500,35 ,0 +16 ,6,1500,35 ,1 +11 ,7,1750,62 ,1 +16 ,2,500,16 ,0 +16 ,3,750,21 ,1 +11 ,3,750,28 ,0 +11 ,7,1750,64 ,0 +11 ,1,250,11 ,1 +9 ,3,750,34 ,0 +14 ,4,1000,30 ,0 +23 ,38,9500,98 ,0 +11 ,6,1500,58 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,1,250,11 ,0 +11 ,2,500,21 ,0 +11 ,5,1250,50 ,0 +11 ,2,500,21 ,0 +16 ,4,1000,28 ,0 +4 ,2,500,41 ,0 +16 ,6,1500,40 ,0 +14 ,3,750,26 ,0 +9 ,2,500,26 ,0 +21 ,16,4000,64 ,0 +14 ,6,1500,51 ,0 +11 ,2,500,24 ,0 +4 ,3,750,71 ,0 +21 ,13,3250,57 ,0 +11 ,6,1500,71 ,0 +14 ,2,500,21 ,1 +23 ,15,3750,57 ,0 +14 ,4,1000,38 ,0 +11 ,2,500,26 ,0 +16 ,5,1250,40 ,1 +4 ,2,500,51 ,1 +14 ,3,750,31 ,0 +4 ,2,500,52 ,0 +9 ,4,1000,65 ,0 +14 ,4,1000,40 ,0 +11 ,3,750,40 ,1 +14 ,5,1250,50 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,7,1750,72 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +9 ,3,750,52 ,0 +14 ,7,1750,73 ,0 +11 ,4,1000,58 ,0 +11 ,4,1000,59 ,0 +4 ,2,500,59 ,0 +11 ,4,1000,61 ,0 +16 ,4,1000,40 ,0 +16 ,10,2500,89 ,0 +21 ,2,500,21 ,1 +21 ,3,750,26 ,0 +16 ,8,2000,76 ,0 +21 ,3,750,26 ,1 +18 ,2,500,23 ,0 +23 ,5,1250,33 ,0 +23 ,8,2000,46 ,0 +16 ,3,750,34 ,0 +14 ,5,1250,64 ,0 +14 ,3,750,41 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,4,1000,45 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,2,500,26 ,0 +21 ,2,500,23 ,0 +16 ,2,500,27 ,0 +21 ,2,500,23 ,0 +21 ,2,500,23 ,0 +14 ,4,1000,57 ,0 +16 ,5,1250,60 ,0 +23 ,2,500,23 ,0 +14 ,5,1250,74 ,0 +23 ,3,750,28 ,0 +16 ,3,750,40 ,0 +9 ,2,500,52 ,0 +9 ,2,500,52 ,0 +16 ,7,1750,87 ,1 +14 ,4,1000,64 ,0 +14 ,2,500,35 ,0 +16 ,7,1750,93 ,0 +21 ,2,500,25 ,0 +14 ,3,750,52 ,0 +23 ,14,3500,93 ,0 +18 ,8,2000,95 ,0 +16 ,3,750,46 ,0 +11 ,3,750,76 ,0 +11 ,2,500,52 ,0 +11 ,3,750,76 ,0 +23 ,12,3000,86 ,0 +21 ,3,750,35 ,0 +23 ,2,500,26 ,0 +23 ,2,500,26 ,0 +23 ,8,2000,64 ,0 +16 ,3,750,50 ,0 +23 ,3,750,33 ,0 +21 ,3,750,38 ,0 +23 ,2,500,28 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,1 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +21 ,5,1250,60 ,0 +23 ,4,1000,45 ,0 +21 ,4,1000,52 ,0 +22 ,1,250,22 ,1 +11 ,2,500,70 ,0 +23 ,5,1250,58 ,0 +23 ,3,750,40 ,0 +23 ,3,750,41 ,0 +14 ,3,750,83 ,0 +21 ,2,500,35 ,0 +26 ,5,1250,49 ,1 +23 ,6,1500,70 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,4,1000,53 ,0 +21 ,6,1500,86 ,0 +23 ,3,750,48 ,0 +21 ,2,500,41 ,0 +21 ,3,750,64 ,0 +16 ,2,500,70 ,0 +21 ,3,750,70 ,0 +23 ,4,1000,87 ,0 +23 ,3,750,89 ,0 +23 ,2,500,87 ,0 +35 ,3,750,64 ,0 +38 ,1,250,38 ,0 +38 ,1,250,38 ,0 +40 ,1,250,40 ,0 +74 ,1,250,74 ,0 +2 ,43,10750,86 ,1 +6 ,22,5500,28 ,1 +2 ,34,8500,77 ,1 +2 ,44,11000,98 ,0 +0 ,26,6500,76 ,1 +2 ,41,10250,98 ,1 +3 ,21,5250,42 ,1 +2 ,11,2750,23 ,0 +2 ,21,5250,52 ,1 +2 ,13,3250,32 ,1 +4 ,4,1000,4 ,1 +2 ,11,2750,26 ,0 +2 ,11,2750,28 ,0 +3 ,14,3500,35 ,0 +4 ,16,4000,38 ,1 +4 ,6,1500,14 ,0 +3 ,5,1250,12 ,1 +4 ,33,8250,98 ,1 +3 ,10,2500,33 ,1 +4 ,10,2500,28 ,1 +2 ,11,2750,40 ,1 +2 ,11,2750,41 ,1 +4 ,13,3250,39 ,1 +1 ,10,2500,43 ,1 +4 ,9,2250,28 ,0 +2 ,4,1000,11 ,0 +2 ,5,1250,16 ,1 +2 ,15,3750,64 ,0 +5 ,24,6000,79 ,0 +2 ,6,1500,22 ,1 +4 ,5,1250,16 ,1 +2 ,4,1000,14 ,1 +4 ,8,2000,28 ,0 +2 ,4,1000,14 ,0 +2 ,6,1500,26 ,0 +4 ,5,1250,16 ,1 +2 ,7,1750,32 ,1 +2 ,6,1500,26 ,1 +2 ,8,2000,38 ,1 +2 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,4,1000,28 ,0 +16 ,15,3750,87 ,0 +16 ,14,3500,83 ,0 +16 ,10,2500,62 ,0 +16 ,3,750,23 ,0 +14 ,3,750,26 ,0 +23 ,19,4750,62 ,0 +11 ,7,1750,75 ,0 +14 ,3,750,28 ,0 +20 ,14,3500,69 ,1 +4 ,2,500,46 ,0 +11 ,2,500,25 ,0 +11 ,3,750,37 ,0 +16 ,4,1000,33 ,0 +21 ,7,1750,38 ,0 +13 ,7,1750,76 ,0 +16 ,6,1500,50 ,0 +14 ,3,750,33 ,0 14 ,1,250,14 ,0 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-1 ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-1 b/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-1 index e955660..13e9668 100644 --- a/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-1 +++ b/src/test/scripts/functions/io/csv/in/transfusion_3.data/part-1 @@ -1,58 +1,58 @@ -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -14 ,1,250,14 ,0 -17 ,7,1750,58 ,1 -14 ,3,750,35 ,0 -14 ,3,750,35 ,0 -16 ,7,1750,64 ,0 -21 ,2,500,21 ,0 -16 ,3,750,35 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -16 ,1,250,16 ,0 -14 ,2,500,29 ,0 -11 ,4,1000,74 ,0 -11 ,2,500,38 ,1 -21 ,6,1500,48 ,0 -23 ,2,500,23 ,0 -23 ,6,1500,45 ,0 -14 ,2,500,35 ,1 -16 ,6,1500,81 ,0 -16 ,4,1000,58 ,0 -16 ,5,1250,71 ,0 -21 ,2,500,26 ,0 -21 ,3,750,35 ,0 -21 ,3,750,35 ,0 -23 ,8,2000,69 ,0 -21 ,3,750,38 ,0 -23 ,3,750,35 ,0 -21 ,3,750,40 ,0 -23 ,2,500,28 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -25 ,6,1500,50 ,0 -21 ,1,250,21 ,0 -21 ,1,250,21 ,0 -23 ,3,750,39 ,0 -21 ,2,500,33 ,0 -14 ,3,750,79 ,0 -23 ,1,250,23 ,1 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,1,250,23 ,0 -23 ,4,1000,52 ,0 -23 ,1,250,23 ,0 -23 ,7,1750,88 ,0 -16 ,3,750,86 ,0 -23 ,2,500,38 ,0 -21 ,2,500,52 ,0 -23 ,3,750,62 ,0 -39 ,1,250,39 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +14 ,1,250,14 ,0 +17 ,7,1750,58 ,1 +14 ,3,750,35 ,0 +14 ,3,750,35 ,0 +16 ,7,1750,64 ,0 +21 ,2,500,21 ,0 +16 ,3,750,35 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +16 ,1,250,16 ,0 +14 ,2,500,29 ,0 +11 ,4,1000,74 ,0 +11 ,2,500,38 ,1 +21 ,6,1500,48 ,0 +23 ,2,500,23 ,0 +23 ,6,1500,45 ,0 +14 ,2,500,35 ,1 +16 ,6,1500,81 ,0 +16 ,4,1000,58 ,0 +16 ,5,1250,71 ,0 +21 ,2,500,26 ,0 +21 ,3,750,35 ,0 +21 ,3,750,35 ,0 +23 ,8,2000,69 ,0 +21 ,3,750,38 ,0 +23 ,3,750,35 ,0 +21 ,3,750,40 ,0 +23 ,2,500,28 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +25 ,6,1500,50 ,0 +21 ,1,250,21 ,0 +21 ,1,250,21 ,0 +23 ,3,750,39 ,0 +21 ,2,500,33 ,0 +14 ,3,750,79 ,0 +23 ,1,250,23 ,1 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,1,250,23 ,0 +23 ,4,1000,52 ,0 +23 ,1,250,23 ,0 +23 ,7,1750,88 ,0 +16 ,3,750,86 ,0 +23 ,2,500,38 ,0 +21 ,2,500,52 ,0 +23 ,3,750,62 ,0 +39 ,1,250,39 ,0 72 ,1,250,72 ,0 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/csv/writecsv_verify.R ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/csv/writecsv_verify.R b/src/test/scripts/functions/io/csv/writecsv_verify.R index 28299e7..5560c29 100644 --- a/src/test/scripts/functions/io/csv/writecsv_verify.R +++ b/src/test/scripts/functions/io/csv/writecsv_verify.R @@ -19,15 +19,15 @@ # #------------------------------------------------------------- - - -args <- commandArgs(TRUE) -options(digits=22) - -library(Matrix); - -A = read.csv(args[1], header=as.logical(args[2]), sep=args[3]); -A[is.na(A)] = 0; -x = sum(A); -write(x, args[4]); - + + +args <- commandArgs(TRUE) +options(digits=22) + +library(Matrix); + +A = read.csv(args[1], header=as.logical(args[2]), sep=args[3]); +A[is.na(A)] = 0; +x = sum(A); +write(x, args[4]); + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/matrixmarket/ReadMMTest_1.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/matrixmarket/ReadMMTest_1.dml b/src/test/scripts/functions/io/matrixmarket/ReadMMTest_1.dml index b413e15..6255014 100644 --- a/src/test/scripts/functions/io/matrixmarket/ReadMMTest_1.dml +++ b/src/test/scripts/functions/io/matrixmarket/ReadMMTest_1.dml @@ -19,13 +19,13 @@ # #------------------------------------------------------------- - -# Script that checks reading of MatrixMarket file -# format="mm" is not provided in read() statement to test the -# code that infers the MM format - -A = read($1); -x = sum(A); -write(x, $2); - - + +# Script that checks reading of MatrixMarket file +# format="mm" is not provided in read() statement to test the +# code that infers the MM format + +A = read($1); +x = sum(A); +write(x, $2); + + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/matrixmarket/ReadMMTest_2.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/matrixmarket/ReadMMTest_2.dml b/src/test/scripts/functions/io/matrixmarket/ReadMMTest_2.dml index 1c969d5..9b293ee 100644 --- a/src/test/scripts/functions/io/matrixmarket/ReadMMTest_2.dml +++ b/src/test/scripts/functions/io/matrixmarket/ReadMMTest_2.dml @@ -19,11 +19,11 @@ # #------------------------------------------------------------- - -# Script that checks reading of MatrixMarket file - -A = read($1, format="mm"); -x = sum(A); -write(x, $2); - - + +# Script that checks reading of MatrixMarket file + +A = read($1, format="mm"); +x = sum(A); +write(x, $2); + + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/matrixmarket/ReadMMTest_3.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/matrixmarket/ReadMMTest_3.dml b/src/test/scripts/functions/io/matrixmarket/ReadMMTest_3.dml index 792e246..48b143d 100644 --- a/src/test/scripts/functions/io/matrixmarket/ReadMMTest_3.dml +++ b/src/test/scripts/functions/io/matrixmarket/ReadMMTest_3.dml @@ -19,11 +19,11 @@ # #------------------------------------------------------------- - -# Script that checks reading of MatrixMarket file - -A = readMM($1); -x = sum(A); -write(x, $2); - - + +# Script that checks reading of MatrixMarket file + +A = readMM($1); +x = sum(A); +write(x, $2); + + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/matrixmarket/in/ReadMMTest.mtx ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/matrixmarket/in/ReadMMTest.mtx b/src/test/scripts/functions/io/matrixmarket/in/ReadMMTest.mtx index a9c2f96..75340fd 100644 --- a/src/test/scripts/functions/io/matrixmarket/in/ReadMMTest.mtx +++ b/src/test/scripts/functions/io/matrixmarket/in/ReadMMTest.mtx @@ -1,31 +1,31 @@ -%%MatrixMarket matrix coordinate real general -%================================================================================= -% -% This ASCII file represents a sparse MxN matrix with L -% nonzeros in the following Matrix Market format: -% -% +----------------------------------------------+ -% |%%MatrixMarket matrix coordinate real general | <--- header line -% |% | <--+ -% |% comments | |-- 0 or more comment lines -% |% | <--+ -% | M N L | <--- rows, columns, entries -% | I1 J1 A(I1, J1) | <--+ -% | I2 J2 A(I2, J2) | | -% | I3 J3 A(I3, J3) | |-- L lines -% | . . . | | -% | IL JL A(IL, JL) | <--+ -% +----------------------------------------------+ -% -% Indices are 1-based, i.e. A(1,1) is the first element. -% -%================================================================================= - 5 5 8 - 1 1 1.000e+00 - 2 2 1.050e+01 - 3 3 1.500e-02 - 1 4 6.000e+00 - 4 2 2.505e+02 - 4 4 -2.800e+02 - 4 5 3.332e+01 +%%MatrixMarket matrix coordinate real general +%================================================================================= +% +% This ASCII file represents a sparse MxN matrix with L +% nonzeros in the following Matrix Market format: +% +% +----------------------------------------------+ +% |%%MatrixMarket matrix coordinate real general | <--- header line +% |% | <--+ +% |% comments | |-- 0 or more comment lines +% |% | <--+ +% | M N L | <--- rows, columns, entries +% | I1 J1 A(I1, J1) | <--+ +% | I2 J2 A(I2, J2) | | +% | I3 J3 A(I3, J3) | |-- L lines +% | . . . | | +% | IL JL A(IL, JL) | <--+ +% +----------------------------------------------+ +% +% Indices are 1-based, i.e. A(1,1) is the first element. +% +%================================================================================= + 5 5 8 + 1 1 1.000e+00 + 2 2 1.050e+01 + 3 3 1.500e-02 + 1 4 6.000e+00 + 4 2 2.505e+02 + 4 4 -2.800e+02 + 4 5 3.332e+01 5 5 1.200e+01 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/matrixmarket/mm_test1.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/matrixmarket/mm_test1.dml b/src/test/scripts/functions/io/matrixmarket/mm_test1.dml index 5e04c8e..9e87a71 100644 --- a/src/test/scripts/functions/io/matrixmarket/mm_test1.dml +++ b/src/test/scripts/functions/io/matrixmarket/mm_test1.dml @@ -19,10 +19,10 @@ # #------------------------------------------------------------- - - -# test for reading and writing in MM format - -A = read($1, format=$2); -write(A, $3, format=$4); - + + +# test for reading and writing in MM format + +A = read($1, format=$2); +write(A, $3, format=$4); + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/matrixmarket/mm_verify.R ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/matrixmarket/mm_verify.R b/src/test/scripts/functions/io/matrixmarket/mm_verify.R index 6a6c5f1..3c80552 100644 --- a/src/test/scripts/functions/io/matrixmarket/mm_verify.R +++ b/src/test/scripts/functions/io/matrixmarket/mm_verify.R @@ -19,14 +19,14 @@ # #------------------------------------------------------------- - - -args <- commandArgs(TRUE) -options(digits=22) - -library(Matrix); - -A = readMM(args[1]); -x = sum(A); -write(x, args[2]); - + + +args <- commandArgs(TRUE) +options(digits=22) + +library(Matrix); + +A = readMM(args[1]); +x = sum(A); +write(x, args[2]); + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/io/matrixmarket/mm_verify.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/io/matrixmarket/mm_verify.dml b/src/test/scripts/functions/io/matrixmarket/mm_verify.dml index 3526fbc..190d359 100644 --- a/src/test/scripts/functions/io/matrixmarket/mm_verify.dml +++ b/src/test/scripts/functions/io/matrixmarket/mm_verify.dml @@ -19,10 +19,10 @@ # #------------------------------------------------------------- - - -A = read($1, rows=$2, cols=$3, format=$4); -x = sum(A); -write(x, $5); - - + + +A = read($1, rows=$2, cols=$3, format=$4); +x = sum(A); +write(x, $5); + + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/jmlc/m-svm-score.R ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/jmlc/m-svm-score.R b/src/test/scripts/functions/jmlc/m-svm-score.R index 74a04a7..f69e5e8 100644 --- a/src/test/scripts/functions/jmlc/m-svm-score.R +++ b/src/test/scripts/functions/jmlc/m-svm-score.R @@ -19,25 +19,25 @@ # #------------------------------------------------------------- - -args <- commandArgs(TRUE) -options(digits=22) - -library("Matrix") - -X <- as.matrix(readMM(paste(args[1], "X.mtx", sep=""))) -W <- as.matrix(readMM(paste(args[1], "W.mtx", sep=""))) - -Nt = nrow(X); -num_classes = ncol(W) -n = ncol(X); - -b = W[n+1,] -ones = matrix(1, Nt, 1) -scores = X %*% W[1:n,] + ones %*% b; - -predicted_y = max.col(scores,ties.method="last") - -writeMM(as(predicted_y, "CsparseMatrix"), paste(args[2], "predicted_y", sep="")); - - + +args <- commandArgs(TRUE) +options(digits=22) + +library("Matrix") + +X <- as.matrix(readMM(paste(args[1], "X.mtx", sep=""))) +W <- as.matrix(readMM(paste(args[1], "W.mtx", sep=""))) + +Nt = nrow(X); +num_classes = ncol(W) +n = ncol(X); + +b = W[n+1,] +ones = matrix(1, Nt, 1) +scores = X %*% W[1:n,] + ones %*% b; + +predicted_y = max.col(scores,ties.method="last") + +writeMM(as(predicted_y, "CsparseMatrix"), paste(args[2], "predicted_y", sep="")); + + http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/05d2c0a8/src/test/scripts/functions/jmlc/m-svm-score.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/jmlc/m-svm-score.dml b/src/test/scripts/functions/jmlc/m-svm-score.dml index 3b70100..a371e53 100644 --- a/src/test/scripts/functions/jmlc/m-svm-score.dml +++ b/src/test/scripts/functions/jmlc/m-svm-score.dml @@ -1,35 +1,35 @@ -#------------------------------------------------------------- -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -#------------------------------------------------------------- - -X = read("./tmp/X", rows=-1, cols=-1); -W = read("./tmp/W", rows=-1, cols=-1); - -Nt = nrow(X); -num_classes = ncol(W) -n = ncol(X); - -b = W[n+1,] -ones = matrix(1, rows=Nt, cols=1) -scores = X %*% W[1:n,] + ones %*% b; - -predicted_y = rowIndexMax(scores); -write(predicted_y, "./tmp", format="text"); +#------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#------------------------------------------------------------- + +X = read("./tmp/X", rows=-1, cols=-1); +W = read("./tmp/W", rows=-1, cols=-1); + +Nt = nrow(X); +num_classes = ncol(W) +n = ncol(X); + +b = W[n+1,] +ones = matrix(1, rows=Nt, cols=1) +scores = X %*% W[1:n,] + ones %*% b; + +predicted_y = rowIndexMax(scores); +write(predicted_y, "./tmp", format="text"); \ No newline at end of file
