#!/bin/bash #This is example 3. It runs all the methods in COSEEKMO with a total of 158 combined methods (including numeric estimations). cd ../../ Here=`pwd` Sandbox=`$Here/bin/playpen coseekmo` Repeats=20 Use=10 Pred=30 Trust=95 SpecialMethods="cocomost cocomin1 cocomin2" NormalMethods="lc m5p lsr nearestNeighborMe nearestNeighborMre staticLocomo dynamicLocomoMean dynamicLocomoMedian" ColumnPrunerMethods="oldCocominWrapper newCocominWrapperNative newCocominWrapperMedian lsrWrapper lsrWrapperNoLog m5pWrapper m5pWrapperNoLog" Log=$Here/results/mainLog trap "/bin/rm -rf $Sandbox" 0 1 2 3 15 cp bin/* $Sandbox cp cocomin/* $Sandbox cp cocomost/* $Sandbox cp config/* $Sandbox mkdir $Sandbox/data cp data/* $Sandbox/data/ cp evaluation/* $Sandbox cp lc/* $Sandbox cp localwrapper/* $Sandbox cp locomo/* $Sandbox cp methods/* $Sandbox cp nearest/* $Sandbox cp weka/* $Sandbox cp eg/3/generate3 $Sandbox cd $Sandbox g++ -Wall cocomostFSS.cpp -o cocomostFSS g++ -Wall fastCocomin.cpp -o fastCocomin g++ -Wall cocomin81.cpp -o cocomin81 gawk -f coc81.awk data/coc81modetypelangtype.csv gawk -f nasa93.awk data/nasa93.csv #Run the experiment and generate the results ./generate3 $Here $Sandbox $Repeats $Use $Pred "$SpecialMethods" "$NormalMethods" "$ColumnPrunerMethods" $Log #Run the non-parametric analysis using the mwu test (Possible evaluation criteria are AR, MRE, MER, BRE, IBRE) ./mwu $Here $Log AR