Jean-Francois Leveque

Ajout des scripts de couverture Omega

#!/bin/bash
recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/
processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar
postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar
for i in `seq 1 10`;
do
java -jar $recommendationPath$processBin --data.dir=Cosine/CollectionOmegaCosine$i/
java -jar $recommendationPath$postprocessBin --data.dir=Cosine/CollectionOmegaCosine$i/
done
#!/bin/bash
for i in `seq 1 10`;
do
for k in cosine pearson;
do
capK="$(tr '[:lower:]' '[:upper:]' <<< ${k:0:1})${k:1}"
dir=$capK"/CollectionOmega"$capK$i
if [ ! -f $dir ]; then
mkdir -p $dir
cp EchantillonCollection.csv $dir/
if [ -f $dir/Parametres.properties ]; then
rm $dir/Parametres.properties
fi
echo "topSize="$i >> $dir/Parametres.properties
echo "algorithm="$k >> $dir/Parametres.properties
echo "ratings=false" >> $dir/Parametres.properties
fi
done
for k in funkSVD slopeOne;
do
capK="$(tr '[:lower:]' '[:upper:]' <<< ${k:0:1})${k:1}"
dir=$capK"/NotationOmega"$capK$i
if [ ! -f $dir ]; then
mkdir -p $dir
cp EchantillonNotation.csv $dir/
if [ -f $dir/Parametres.properties ]; then
rm $dir/Parametres.properties
fi
echo "topSize="$i >> $dir/Parametres.properties
echo "algorithm="$k >> $dir/Parametres.properties
echo "ratings=true" >> $dir/Parametres.properties
fi
done
done
#!/bin/bash
recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/
processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar
postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar
for i in `seq 1 10`;
do
java -jar $recommendationPath$processBin --data.dir=FunkSVD/NotationOmegaFunkSVD$i/
java -jar $recommendationPath$postprocessBin --data.dir=FunkSVD/NotationOmegaFunkSVD$i/
done
#!/bin/bash
recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/
processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar
postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar
for i in `seq 1 10`;
do
java -jar $recommendationPath$processBin --data.dir=Pearson/CollectionOmegaPearson$i/
java -jar $recommendationPath$postprocessBin --data.dir=Pearson/CollectionOmegaPearson$i/
done
#!/bin/bash
recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/
processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar
postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar
for i in `seq 1 10`;
do
java -jar $recommendationPath$processBin --data.dir=SlopeOne/NotationOmegaSlopeOne$i/
java -jar $recommendationPath$postprocessBin --data.dir=SlopeOne/NotationOmegaSlopeOne$i/
done