Files
stree_datasets/comparewodt/compare.sh
Ricardo Montañana 08fb237001 Non stratified experiments
Remove reference column in analysis
2021-03-22 11:02:53 +01:00

16 lines
388 B
Bash
Executable File

#!/bin/bash
function busca_resultado() {
res=`grep -w $2 $1|cut -d";" -f2`
}
estratificado="estratificado.txt"
no_estratificado="no_estratificado.txt"
busca_resultado $estratificado "wine"
echo $res
busca_resultado $no_estratificado "zoo"
echo $res
cat $estratificado|while read dataset accuracy
do
busca_resultado $no_estratificado $dataset
echo "$dataset E[$accuracy] NE[$res]"
done