#!/bin/bash #File,UseWeight,ExpertNum,ExpertKnow,MMRE,Pred30,SdMre MeanMRE=5 Pred=6 SdMRE=7 Results="analyzed_results.csv" COCOMINBaseline=$HOME/tmp/baggingCOCOMINBaseline BaggingBaseline=$HOME/tmp/baggingBaseline #NumSet="2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20" #KnowSet=".30 .35 .40 .45 .50 .55 .60 .65 .70 .75 .80 .85 .90" #WeightSet="0 1" Num3=$HOME/tmp/baggingNum3 Num5=$HOME/tmp/baggingNum5 Num10=$HOME/tmp/baggingNum10 Num15=$HOME/tmp/baggingNum15 Num20=$HOME/tmp/baggingNum20 Know30=$HOME/tmp/baggingKnow30 Know40=$HOME/tmp/baggingKnow40 Know50=$HOME/tmp/baggingKnow50 Know60=$HOME/tmp/baggingKnow60 Know70=$HOME/tmp/baggingKnow70 Know80=$HOME/tmp/baggingKnow80 Know90=$HOME/tmp/baggingKnow90 WeightF=$HOME/tmp/baggingWeightF WeightT=$HOME/tmp/baggingWeightT # ---------- Baselines grep "N/A,exp_num:1,exp_know:1," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $COCOMINBaseline grep "use_weight:1,exp_num:10,exp_know:0.70," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $BaggingBaseline # ---------- Expert Num grep "exp_num:3," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Num3 grep "exp_num:5," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Num5 grep "exp_num:10," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Num10 grep "exp_num:15," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Num15 grep "exp_num:20," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Num20 # ---------- Expert Know grep "exp_know:0.30," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Know30 grep "exp_know:0.40," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Know40 grep "exp_know:0.50," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Know50 grep "exp_know:0.60," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Know60 grep "exp_know:0.70," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Know70 grep "exp_know:0.80," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Know80 grep "exp_know:0.90," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $Know90 # ---------- Expert Weight grep "use_weight:0," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $WeightF grep "use_weight:1," $Results | sort -t, +0 | gawk 'BEGIN {FS=","; OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' > $WeightT # ---------- Plot Expert Num gnuplot <