Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement benchmarking platform run periodically #2164

Open
dkoslicki opened this issue Oct 11, 2023 · 0 comments
Open

Implement benchmarking platform run periodically #2164

dkoslicki opened this issue Oct 11, 2023 · 0 comments
Assignees

Comments

@dkoslicki
Copy link
Member

Say, on one of the Koslicki_Lab servers, use the Benchmarks repo to run the benchmarks and analyze the results (say, run once a week/month via cron job). Something like

fetch_results.sh

#!/bin/bash

subdirectories=("arax" "bte" "improving" "aragorn")
#bench=("OOPD" "RareDisease" "ameliorates" "three_hop" "treats" "drug_treats_rare_disease" "GTRx" "DrugCentral_creative" "CPIC")
bench=("ameliorates")
for bench in "${bench[@]}"; do
        for tool in "${subdirectories[@]}"; do
            nohup  benchmarks_fetch ${bench} ${tool} ${tool}/${bench} --n 4 --overwrite &
        done
        wait
done

analyze_results.sh

subdirectories=("arax" "bte" "improving" "aragorn")
#subdirectories=("bte")
bench=("OOPD" "RareDisease" "ameliorates" "three_hop" "treats" "drug_treats_rare_disease" "GTRx" "DrugCentral_creative" "CPIC")
for bench in "${bench[@]}"; do
        for tool in "${subdirectories[@]}"; do
            benchmarks_eval ${bench} ${tool}/${bench} --plots_dir ${tool}/${bench} --json ${tool}_${bench}.json
        done
done

Bonus points if the results (MRR, Hit@k, etc.) could be pushed somewhere publicly (eg. to a repo in the RTXteam org, maybe a new repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants