Commit bd8eaaea authored by samuel hanot's avatar samuel hanot

add test values to check against

parent 2499ba8f
1 4 0.720751
2 16 0.809344
3 64 0.877221
4 256 0.932163
#!/bin/bash
../../recursive_gmconvert.sh -f emd_3368.map -t $(cat cutoff.txt) -n 4 -N 2 -s
for f in 1 2 3 4
do
echo $f $(awk '/^#Ngauss/{N=$2} /^CC/{CC=$2; print N,CC}' < $f/gmmscore_threshold)
done > result.txt
result=$(paste result.txt result_check.txt | awk '{checksum+=($1-$4)/$4+($2-$5)/$5+($3-$6)/$6;n+=1} END{print checksum/n>0.01}')
exit $result
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment