#! /bin/bash Path="/tmp" Train=$1 Test=$2 ConvertedFile=$Train Search="forward" Horizon="16" Ranker="correlation" Eval="mmre" RankingFile=$Path"/cocomin.ranking" RankingLogFile=$Path"/cocomin_ranking.log" LogFile=$Path"/cocomin.log" SortFile=$Path"/cocomin.sort" ./attr_ranking $ConvertedFile $Path "attrLC" $Train $Train "-" $RankingLogFile > $RankingFile TargetEMs=$(./attr $Train $Path $Ranker $Train $LogFile $Horizon $RankingFile $SortFile $Eval $Search) echo "#COCOMIN chose: "$TargetEMs echo "#Estimate,Actual,MRE" #./lc81 $Train $Test $TargetEMs gawk -f simplelc.awk Pass=1 TargetEMs=$TargetEMs $Train Pass=2 TargetEMs=$TargetEMs $Test