#!/bin/bash # $1 - Either j48 or jRip, the name of the learner to use # $2 - Stem of train file. # $3 - Stem of test file. train=../c45/changes/Data/arffData/mdp/$2".arff"; test=../c45/changes/Data/arffData/mdp/$3".arff"; stem=`basename $test`; locAtt=`./getLocAtt $stem`; tLoc=`./totalLoc locAtt=$locAtt $test`; ./$1p $train $test $locAtt | ./wekaEffort tLoc=$tLoc;