-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt fixing the transformer_ensemble method (#64)
* try not letting the weights sum up to one * fix script * add script * add more values to args, directly use output_model
- Loading branch information
Showing
4 changed files
with
112 additions
and
55 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
# todo: remove this before merging PR #64 | ||
|
||
RUN_ID="traens_$(date +%Y-%m-%d_%H-%M-%S)" | ||
resources_dir="s3://openproblems-bio/public/neurips-2023-competition/workflow-resources" | ||
publish_dir="s3://openproblems-data/resources/dge_perturbation_prediction/results/${RUN_ID}" | ||
|
||
cat > /tmp/params.yaml << HERE | ||
param_list: | ||
- id: neurips-2023-data | ||
de_train_h5ad: "$resources_dir/neurips-2023-data/de_train.h5ad" | ||
de_test_h5ad: "$resources_dir/neurips-2023-data/de_test.h5ad" | ||
id_map: "$resources_dir/neurips-2023-data/id_map.csv" | ||
layer: clipped_sign_log10_pval | ||
method_ids: [transformer_ensemble] | ||
output_state: "state.yaml" | ||
publish_dir: "$publish_dir" | ||
HERE | ||
|
||
tw launch https://github.com/openproblems-bio/task-dge-perturbation-prediction.git \ | ||
--revision fix_trafo_ens_build \ | ||
--pull-latest \ | ||
--main-script target/nextflow/workflows/run_benchmark/main.nf \ | ||
--workspace 53907369739130 \ | ||
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \ | ||
--params-file /tmp/params.yaml \ | ||
--config src/common/nextflow_helpers/labels_tw.config |
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