mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-16 16:06:03 +00:00
Non stratified experiments
Remove reference column in analysis
This commit is contained in:
15
comparewodt/compare.sh
Executable file
15
comparewodt/compare.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
Reference in New Issue
Block a user