From fd533d9a767d58b4ee190cc7a779448d673bfd8c Mon Sep 17 00:00:00 2001 From: tqchen Date: Mon, 22 Dec 2014 00:32:08 -0800 Subject: [PATCH] add kmeans --- toolkit/kmeans_hadoop.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolkit/kmeans_hadoop.sh b/toolkit/kmeans_hadoop.sh index ed576f8b9..bcd9adb3a 100755 --- a/toolkit/kmeans_hadoop.sh +++ b/toolkit/kmeans_hadoop.sh @@ -4,6 +4,6 @@ then echo "Usage: " exit -1 fi -python ../rabit_hadoop.py -s $1 -i $2 -m kmeans --args "stdin "$3" "$4" stdout" -o $5 - - \ No newline at end of file +#set path to hadoop streaming jar here +STREAMING_JAR= +python ../rabit_hadoop.py -hs $STREAMING_JAR -s $1 -i $2 -m kmeans --args "stdin "$3" "$4" stdout" -o $5