forked from moreo/QuaPy
35 lines
1.0 KiB
Bash
Executable File
35 lines
1.0 KiB
Bash
Executable File
#!/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
|
|
|
|
dataset=RCV1.C4
|
|
iter=40
|
|
k=100
|
|
initsize=500
|
|
initprev=-1
|
|
seed=1
|
|
Q=RPACC
|
|
CLS=lr
|
|
|
|
for sampling in relevance_sampling uncertainty_sampling adaptive_sampling mix_sampling ; do
|
|
|
|
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
|
|
|
|
done
|