change toolkit to rabitlearn

This commit is contained in:
tqchen
2015-01-16 10:45:54 -08:00
parent f5245c615c
commit c798fc2a29
9 changed files with 50 additions and 39 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [ "$#" -lt 5 ];
then
echo "Usage: <nslaves> <input_data> <ncluster> <max_iteration> <output>"
exit -1
fi
#set path to hadoop streaming jar here
STREAMING_JAR=
python ../tracker/rabit_hadoop.py -hs $STREAMING_JAR -n $1 -i $2 -o $5 kmeans.rabit stdin $3 $4 stdout