# /* vim: set filetype=sh : */ make -s prep Dir=../../cocomo/data Data=nasa93.csv Data=coc81modeTypeLangType.csv Here=`pwd` Tmp=`mktemp -d` #trap "rm -rf $Tmp" 0 1 2 3 15 (printf "=" cat ${Dir}/${Data} | cut -d, -f6- ) > $Tmp/$0.in head -1 ${Dir}/${Data} > $Tmp/head cd $Tmp main() { echo "---| $2 |----------------------" coc1nums -s $0.in > $0.tmp for((i=1;i<=30;i++)) do #blabln $i R=$RANDOM randomize Seed=$R $0.tmp #blabln "`wc -l test.arff`" lc Seed=$R Pred=30 Pass=1 train.arff Pass=2 test.arff \ | tee ${0}$i.out done #| cut -d, -f 3 | sort -n | cat -n > dat exit # gnuplot <