Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-05-04 16:59:05 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c7fcaf9485db67b3685c24402cf7804a59c224b
8c7fcaf9
1 parent
e5a9315a
Ajout des scripts de couverture Omega
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
0 deletions
grog-recommendation/scripts/Omega/CosineOmegaCoverage.bash
grog-recommendation/scripts/Omega/CreeAmorcesOmega.bash
grog-recommendation/scripts/Omega/FunkSVDOmegaCoverage.bash
grog-recommendation/scripts/Omega/PearsonOmegaCoverage.bash
grog-recommendation/scripts/Omega/SlopeOneOmegaCoverage.bash
grog-recommendation/scripts/Omega/CosineOmegaCoverage.bash
0 → 100755
View file @
8c7fcaf
#!/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
grog-recommendation/scripts/Omega/CreeAmorcesOmega.bash
0 → 100755
View file @
8c7fcaf
#!/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
grog-recommendation/scripts/Omega/FunkSVDOmegaCoverage.bash
0 → 100755
View file @
8c7fcaf
#!/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
grog-recommendation/scripts/Omega/PearsonOmegaCoverage.bash
0 → 100755
View file @
8c7fcaf
#!/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
grog-recommendation/scripts/Omega/SlopeOneOmegaCoverage.bash
0 → 100755
View file @
8c7fcaf
#!/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
Please
register
or
login
to post a comment