-
Notifications
You must be signed in to change notification settings - Fork 73
/
all.sh
executable file
·36 lines (32 loc) · 1.19 KB
/
all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
python=python3
for j in 1; do
echo "---=== XGBoost Higgs ($j threads) ===---"
$python xg.py -d ../testdata/higgs_1000examples_test.libsvm \
-m ../testdata/xghiggs.model \
-t ../testdata/xghiggs_1000examples_true_predictions.txt \
-j $j
done
for j in 1 4; do
echo "---=== LightGBM Higgs ($j threads) ===---"
$python lg.py -d ../testdata/higgs_1000examples_test.libsvm \
-m ../testdata/lghiggs.model \
-t ../testdata/lghiggs_1000examples_true_predictions.txt \
-j $j
done
for j in 1 4; do
echo "---=== LightGBM MS LTR ($j threads) ===---"
$python lg.py -d ../testdata/msltr_1000examples_test.libsvm \
-m ../testdata/lgmsltr.model \
-t ../testdata/lgmsltr_1000examples_true_predictions.txt \
-j $j
done
# do not forget run before to generate data:
# > cd testdata
# > $python lg_kddcup99.py bench
for j in 1 4; do
echo "---=== LightGBM KDD Cup 99 ($j threads) ===---"
$python lg.py -d ../testdata/kddcup99_test_for_bench.tsv \
-m ../testdata/lg_kddcup99_for_bench.model \
-t ../testdata/lg_kddcup99_true_predictions_for_bench.txt \
-j $j
done