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
16 lines
352 B
Bash
Executable File
16 lines
352 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.mock mushroom.row\%d "${*:2}" reg_L1=1 mock=0,1,1,0 mock=1,1,1,0 mock=0,2,1,1
|