#!/bin/bash # /* vim: set filetype=sh : */ # -*- sh -*- if [ ! -d "/tmp/var" ] then mkdir -p /tmp/var chmod a+rwx /tmp/var # echo "creating temp directory" fi if [ ! -f "/tmp/var/weka.jar" ] then cp $HOME/work/wisp/trunk/weka/lib/weka.jar /tmp/var/weka.jar chmod a+rwx /tmp/var/weka.jar # echo "putting in the weka.jar" fi #Datums="e2i/heart-c a2b/breast-cancer t2z/weather" \ Safe=${Safe=$HOME/var/xval} #. sandbox mkdir -p $Safe #Datums="a2b/anneal c2d/credit-a a2b/breast-cancer c2d/diabetes c2d/credit-g e2i/glass e2i/heart-c e2i/heart-h e2i/hepatitis c2d/colic t2z/vehicle t2z/vote q2s/soybean j2p/primary-tumor" \ Src=${Src=$HOME} #echo $Src Data=${Data=${Src}/var/data/discrete} \ Datums="a2b/anneal a2b/audiology a2b/autos a2b/breast-cancer c2d/credit-a c2d/diabetes e2i/heart-c e2i/heart-h e2i/ionosphere e2i/iris j2p/kr-vs-kp j2p/letter j2p/mushroom q2s/segment q2s/sonar q2s/soybean q2s/splice t2z/vote t2z/waveform-5000 t2z/weather t2z/weather.nominal" \ Learners="bayes j48 nbk oneR " \ Preps="cat dtree tbin fayyadIrani " \ Repeats=5 \ Bins=5 \ xval2 | tee $Safe/Log File=`tail -1 $Safe/Log` #malign $File # pretty prints the output #deltas Data=1 Rx="2,3,8" Effect=9 Fields=12 $File #<=== for task "i" #deltas Data=1 Rx="2,3,8" Effect=9 Fields=12 $File | deltas2bars Shrink=5 | malign #<== task for "j"