add kmeans
This commit is contained in:
parent
5fe3c58b4a
commit
fd533d9a76
@ -4,6 +4,6 @@ then
|
|||||||
echo "Usage: <nslaves> <input_data> <ncluster> <max_iteration> <output>"
|
echo "Usage: <nslaves> <input_data> <ncluster> <max_iteration> <output>"
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user