set -x # debug command #Tmp= "../../../../var/tmp" if [ -d ../../../var/tmp/data/filtered-data ] then rm -r ../../../var/tmp/data/filtered-data fi if [ -r ../../../public_html/all.pdf ] then rm -r ../../../public_html/all.pdf fi if [ -d ../../../var/tmp/data/test-results ] then rm -r ../../../var/tmp/data/test-results fi if [ -d ../../../var/tmp/data/test-data ] then rm -r ../../../var/tmp/data/test-data fi if [ -d ../../../var/tmp ] then rm -r ../../../var/tmp fi if [ ! -d ../../../var/tmp ] then mkdir ../../../var/tmp fi if [ ! -d ../../../var/tmp/data ] then mkdir ../../../var/tmp/data fi if [ ! -d ../../../var/tmp/data/filtered-data ] then mkdir ../../../var/tmp/data/filtered-data fi if [ ! -d ../../../var/tmp/data/tes-data ] then mkdir ../../../var/tmp/data/test-data fi if [ ! -d ../../../var/tmp/data/test-results ] then mkdir ../../../var/tmp/data/test-results fi cp ../../trunk/uci/discrete/c2d/diabetes.arff ../../../var/tmp/ cd ../../trunk/bad make clean-all make pdThreshold=0.2 filter-data make resample-data make ZThresh=-4.2645 perform-test cd ../../../var/tmp/data/test-results Dir="`pwd`"/*.csv cd ../../../../wisp/branches/vamsi pwd for dir in $Dir do ./3.awk < $dir > $dir.out done DIr="../../../var/tmp/data/test-results/*.csv.out" for dir in $DIr do ./4.awk $dir >$dir.avg ./6.awk $dir >$dir.class done cd ../../../var/tmp/data/test-results Dir1="`pwd`"/*.csv.out #Dir2="`pwd`"/*.csv.out.avg for dir in $Dir1 do gnuplot<