forked from bst-mug/trec-pm
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapted all experiment scripts to also take the year as a parameter.
- Loading branch information
Showing
32 changed files
with
127 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
#!/bin/bash | ||
|
||
whats="disease gene fields posneg additional extra" | ||
whats="genedis fields posneg additional extra pmclass mutation drug" | ||
|
||
mvn clean compile | ||
|
||
#srun scripts/runBoostOptimizer.sh extra | ||
mvn compile | ||
|
||
for i in $whats; do | ||
echo "Starting boost optimization of $i" | ||
sbatch scripts/runBoostOptimizer.sh $i | ||
sbatch scripts/runBoostOptimizer.sh $i 2017 | ||
sbatch scripts/runBoostOptimizer.sh $i 2018 | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/bin/bash | ||
#SBATCH --mem 10G | ||
#SBATCH --cpus-per-task 4 | ||
WHAT=$1 | ||
#SBATCH -J boostopt | ||
|
||
mvn exec:java -Dexec.mainClass=at.medunigraz.imi.bst.trec.SigirPubmedExperimenterBoostOptimizer -Dexec.args="$1" | ||
|
||
mvn exec:java -Dexec.mainClass=at.medunigraz.imi.bst.trec.SigirPubmedExperimenterBoostOptimizer -Dexec.args="$1 $2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
#SBATCH --cpus-per-task 2 | ||
#SBATCH --mem 10G | ||
#SBATCH -J termboostexp | ||
#SBATCH -J pmclassexp | ||
|
||
mvn exec:java -Dexec.mainClass=at.medunigraz.imi.bst.trec.SigirPubmedExperimenterPmClass -Dexec.args="$1 $2" | ||
mvn exec:java -Dexec.mainClass=at.medunigraz.imi.bst.trec.SigirPubmedExperimenterPmClass -Dexec.args="$1 $2 $3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/resources/templates/sigir19_boost_optimization/additional.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"bool": { | ||
"must": [ | ||
{{sigir19_experiments_biomed/disease.json}}, | ||
{{sigir19_experiments_biomed/gene.json}} | ||
], | ||
"should": [ | ||
{{sigir19_experiments_biomed/chemotherapy.json}}, | ||
{{sigir19_experiments_biomed/cancer.json}}, | ||
{{sigir19_experiments_biomed/dna.json}} | ||
] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/resources/templates/sigir19_boost_optimization/posneg.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"bool": { | ||
"must": [ | ||
{{sigir19_experiments_biomed/disease.json}}, | ||
{{sigir19_experiments_biomed/gene.json}} | ||
], | ||
"should": [ | ||
{{sigir19_experiments_biomed/positive_boosters.json}}, | ||
{{sigir19_experiments_biomed/negative_boosters.json}} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
src/main/resources/templates/sigir19_experiments_biomed/genefield_custompm_must.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/main/resources/templates/sigir19_experiments_biomed/genefield_custompm_should.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.