4db0a62 bugfix of lazy prepare 87017bd license dc703e1 license c171440 change license to bsd 7db2070 Update README.md 581fe06 add mocktest d2f252f ok 4a5b9e5 add all 12ee049 init version of lbfgs 37a2837 complete lbfgs solver 6ade7cb complete lbfgs git-subtree-dir: subtree/rabit git-subtree-split: 4db0a62a068894a55f70bad5e80c33d4434fc834
18 lines
386 B
Bash
Executable File
18 lines
386 B
Bash
Executable File
#!/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
|