Merge commit '13776a006a4e572720ec4c5b029b54771cf2b35c' into unity

This commit is contained in:
tqchen
2015-02-11 20:33:35 -08:00
21 changed files with 9698 additions and 22 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
if [[ $# -lt 1 ]]
then
echo "Usage: nprocess"
exit -1
fi
rm -rf mushroom.row* *.model
k=$1
# split the lib svm file into k subfiles
python splitrows.py ../data/agaricus.txt.train mushroom $k
# run xgboost mpi
../../tracker/rabit_demo.py -n $k linear.rabit mushroom.row\%d "${*:2}" reg_L1=1
./linear.rabit ../data/agaricus.txt.test task=pred model_in=final.model