DESTDIR= MyHome=$(DESTDIR)$(HOME) #outHome=/srv/bronze/stuff/dj #HOME TO myHome binDir = $(MyHome)/bin #dataDir = $(MyHome)/var/weka #outputDir = $(outHome)/var/classifierComparison outputDir = $(MyHome)/var/classifierComparison xval: # if [ -d $(dataDir)] then # rm -rf $(dataDir) # fi # mkdir $(dataDir) if [ -d $(outputDir) ]; \ then \ rm -rf $(outputDir); \ fi; mkdir $(outputDir); if [ "../nbcdtree" -nt "$(binDir)/nbcdtree" ]; \ then \ cp ../nbcdtree $(binDir)/.; \ fi; if [ ! -e "$(binDir)/nbcdtree" ]; \ then \ cp ../nbcdtree $(binDir)/.; \ fi; if [ "crossval" -nt "$(binDir)/crossval" ]; \ then \ cp crossval $(binDir)/. ; \ fi; if [ ! -e "$(binDir)/crossval" ]; \ then \ cp crossval $(binDir)/. ; \ fi; if [ "doComp" -nt "$(binDir)/doComp" ]; \ then \ cp doComp $(binDir)/. ; \ fi; if [ ! -e "$(binDir)/doComp" ]; \ then \ cp doComp $(binDir)/. ; \ fi; if [ "../doExtras" -nt "$(binDir)/doExtras" ]; \ then \ cp ../doExtras $(binDir)/.; \ fi; if [ ! -e "$(binDir)/doExtras" ]; \ then \ cp ../doExtras $(binDir)/.; \ fi; # crossval > $(outputDir)/crossvalresults.csv # deltas Data=1 Rx="2,3" Effect=9 Fields=12 $(outputDir)/crossvalresults.csv | deltas2bars | malign > $(outputDir)/crossvalbars.csv # deltas Data=1 Rx="2,3" Effect=9 Fields=12 $(outputDir)/crossvalresults.csv | winloss | malign > $(outputDir)/crossvalwinloss.csv doComp echo "Crossval Complete"