#!/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/autos a2b/breast-cancer " \ Learners="bayes j48 nbk oneR " \ Preps="cat disctree 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"