set -x # debug command #Tmp= "../../../../var/tmp" if [ -d ../../../var/tmp/data/filtered-data ] then rm -r ../../../var/tmp/data/filtered-data 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/t2z/vowel.arff ../../../var/tmp/ cd ../../trunk/bad make clean-all make pdThreshold=0.01 filter-data make resample-data make 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 cd ../../../var/tmp/data/test-results Dir1="`pwd`"/*.csv.out const = 150 for dir in $Dir1 do #y=150*x gnuplot<