add kmeans

This commit is contained in:
tqchen 2014-12-22 00:32:08 -08:00
parent 5fe3c58b4a
commit fd533d9a76

View File

@ -4,6 +4,6 @@ then
echo "Usage: <nslaves> <input_data> <ncluster> <max_iteration> <output>"
exit -1
fi
python ../rabit_hadoop.py -s $1 -i $2 -m kmeans --args "stdin "$3" "$4" stdout" -o $5
#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