# /* vim: set filetype=sh : */ -*- sh -*- Here=`pwd` Safe=$HOME/var/mdp/3 # Q0: where will the output be stored Data="$Here/../data/cooked/39" # Q1: where is your data Datums="cm1 kc3 kc4 mw1 pc1 pc2 pc3 pc4" # Q2: what data sets will we run Learners="oneR bayes j48" # Q3: what learners will you try Preps="cat logNum" # Q4: what pre-processors will you use Repeats=10 # Q5: how many repeats Bins=10 # Q6: how many bins generate() { . xval } logfile() { ls -t $Safe/xval.* | head -1 } report() { printf "\n\n---| $1 |------------------\n" for trust in 95 99 do deltas Data="1,7,8" Rx="2,3" Effect=$2 Fields=12 `logfile` | winloss Trust=$trust printf "\n" deltas Data="1,7,8" Rx="2,3" Effect=$2 Fields=12 `logfile` | deltas2bars | changes Trust=$trust | malign -g 0 done } reports() { report accuracy 9 report pd 10 report pf 11 report precision 12 } generate reports > $Safe/report.$$