Skip to content
Permalink
ffcdac3187
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 29 lines (25 sloc) 793 Bytes
#!/bin/bash
if [ "$DATA_DIR" = "" ] ; then
echo "Define the environemnt variable DATA_DIR, which contains data files."
exit 1
fi
if [ ! -d "$DATA_DIR" ] ; then
echo "DATA_DIR='$DATA_DIR' is not a directory"
exit 1
fi
RecallList="0.99 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2"
BucketSize="50"
for K in 1 ; do
../../TuneOneMeth.sh "$RecallList" $DATA_DIR/sig10k_norm.txt ItakuraSaitoFast 1111 0.1 0.1 $K ResultsItakuraSaito/OutFile.sig10k_norm.$K $BucketSize
if [ "$?" != "0" ] ; then
echo "Tunning failed!"
exit 1
fi
for n in 16 128 ; do
../../TuneOneMeth.sh "$RecallList" $DATA_DIR/final$n.txt ItakuraSaitoFast $n 0.1 0.1 $K ResultsItakuraSaito/OutFile.final$n.$K $BucketSize
if [ "$?" != "0" ] ; then
echo "Tunning failed!"
exit 1
fi
done
done