Showing
5 changed files
with
70 additions
and
0 deletions
1 | +#!/bin/bash | ||
2 | +recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/ | ||
3 | +processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar | ||
4 | +postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar | ||
5 | +for i in `seq 1 10`; | ||
6 | +do | ||
7 | + java -jar $recommendationPath$processBin --data.dir=Cosine/CollectionOmegaCosine$i/ | ||
8 | + java -jar $recommendationPath$postprocessBin --data.dir=Cosine/CollectionOmegaCosine$i/ | ||
9 | +done |
1 | +#!/bin/bash | ||
2 | +for i in `seq 1 10`; | ||
3 | +do | ||
4 | + for k in cosine pearson; | ||
5 | + do | ||
6 | + capK="$(tr '[:lower:]' '[:upper:]' <<< ${k:0:1})${k:1}" | ||
7 | + dir=$capK"/CollectionOmega"$capK$i | ||
8 | + if [ ! -f $dir ]; then | ||
9 | + mkdir -p $dir | ||
10 | + cp EchantillonCollection.csv $dir/ | ||
11 | + if [ -f $dir/Parametres.properties ]; then | ||
12 | + rm $dir/Parametres.properties | ||
13 | + fi | ||
14 | + echo "topSize="$i >> $dir/Parametres.properties | ||
15 | + echo "algorithm="$k >> $dir/Parametres.properties | ||
16 | + echo "ratings=false" >> $dir/Parametres.properties | ||
17 | + fi | ||
18 | + done | ||
19 | + for k in funkSVD slopeOne; | ||
20 | + do | ||
21 | + capK="$(tr '[:lower:]' '[:upper:]' <<< ${k:0:1})${k:1}" | ||
22 | + dir=$capK"/NotationOmega"$capK$i | ||
23 | + if [ ! -f $dir ]; then | ||
24 | + mkdir -p $dir | ||
25 | + cp EchantillonNotation.csv $dir/ | ||
26 | + if [ -f $dir/Parametres.properties ]; then | ||
27 | + rm $dir/Parametres.properties | ||
28 | + fi | ||
29 | + echo "topSize="$i >> $dir/Parametres.properties | ||
30 | + echo "algorithm="$k >> $dir/Parametres.properties | ||
31 | + echo "ratings=true" >> $dir/Parametres.properties | ||
32 | + fi | ||
33 | + done | ||
34 | +done |
1 | +#!/bin/bash | ||
2 | +recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/ | ||
3 | +processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar | ||
4 | +postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar | ||
5 | +for i in `seq 1 10`; | ||
6 | +do | ||
7 | + java -jar $recommendationPath$processBin --data.dir=FunkSVD/NotationOmegaFunkSVD$i/ | ||
8 | + java -jar $recommendationPath$postprocessBin --data.dir=FunkSVD/NotationOmegaFunkSVD$i/ | ||
9 | +done |
1 | +#!/bin/bash | ||
2 | +recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/ | ||
3 | +processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar | ||
4 | +postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar | ||
5 | +for i in `seq 1 10`; | ||
6 | +do | ||
7 | + java -jar $recommendationPath$processBin --data.dir=Pearson/CollectionOmegaPearson$i/ | ||
8 | + java -jar $recommendationPath$postprocessBin --data.dir=Pearson/CollectionOmegaPearson$i/ | ||
9 | +done |
1 | +#!/bin/bash | ||
2 | +recommendationPath=/home/leveque/GRoG-Projet/vm-environment/data/web-application/grog-recommendation/ | ||
3 | +processBin=grog-recommendation-process/target/grog-recommendation-process-3.0-SNAPSHOT.jar | ||
4 | +postprocessBin=grog-recommendation-postprocess/target/grog-recommendation-postprocess-3.0-SNAPSHOT.jar | ||
5 | +for i in `seq 1 10`; | ||
6 | +do | ||
7 | + java -jar $recommendationPath$processBin --data.dir=SlopeOne/NotationOmegaSlopeOne$i/ | ||
8 | + java -jar $recommendationPath$postprocessBin --data.dir=SlopeOne/NotationOmegaSlopeOne$i/ | ||
9 | +done |
-
Please register or login to post a comment