diff --git a/eDiscovery/experiments.sh b/eDiscovery/experiments.sh new file mode 100755 index 0000000..77c5c08 --- /dev/null +++ b/eDiscovery/experiments.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -x + +dataset=RCV1.C4 +iter=50 +k=100 +initsize=1000 +initprev=0.5 +seed=1 + +commons="--dataset $dataset --iter $iter --k $k --initsize $initsize --initprev $initprev --seed $seed" + +for Q in PCC ACC PACC EMQ HDy ; do + for sampling in relevance_sampling uncertainty_sampling mix_sampling ; do +# PYTHONPATH='.:..' python3 main.py --quantifier $Q --sampling $sampling $commons + PYTHONPATH='.:..' python3 plot.py "./results/$dataset"_"$sampling"_"$Q.csv" 0 + done +done diff --git a/eDiscovery/run.sh b/eDiscovery/run.sh new file mode 100755 index 0000000..3595204 --- /dev/null +++ b/eDiscovery/run.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -x + +dataset=RCV1.C4 +iter=50 +k=100 +initsize=500 +initprev=-1 +seed=1 +Q=ACC +CLS=svm +sampling=mix_sampling + +filepath="./results/classifier:"$CLS"__dataset:"$dataset"__initprev:"$initprev"__initsize:"$initsize"__iter:"$iter"__k:"$k"__quantifier:"$Q"__sampling:"$sampling"__seed:"$seed".csv" + +PYTHONPATH='.:..' python3 main.py --quantifier $Q --classifier $CLS --sampling $sampling --dataset $dataset --iter $iter --k $k --initsize $initsize --initprev $initprev --seed $seed & +sleep 2 +PYTHONPATH='.:..' python3 plot.py $filepath 1