forked from moreo/QuaPy
adding bash scripts for rapid tests
This commit is contained in:
parent
d3b48f219b
commit
11319ffd0e
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue