Skip to content

Commit

Permalink
👷 only test one method per package
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Jul 26, 2023
1 parent 635dbcf commit 3891f77
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
- name: Run demo workflow
run: |
cd project
snakemake -p -c1 -n
snakemake -p -c1
snakemake -p -c1 --configfile config/single_dev_dataset/example/config.yaml -n
snakemake -p -c1 --configfile config/single_dev_dataset/example/config.yaml
- name: Archive results
uses: actions/upload-artifact@v3
with:
Expand Down
23 changes: 23 additions & 0 deletions project/config/single_dev_dataset/example/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
config_split: config/single_dev_dataset/proteinGroups_N50/split.yaml
config_train: config/single_dev_dataset/proteinGroups_N50/train_{model}.yaml
folder_experiment: runs/example
# folder_experiment: runs/dev_dataset_small/proteinGroups_N50
fn_rawfile_metadata: data/dev_datasets/HeLa_6070/files_selected_metadata_N50.csv
file_format: csv
models:
- Median # maps to median on file system?
- CF
- DAE
- VAE
- KNN
NAGuideR_methods:
- ROWMEDIAN # e1071
- KNN_IMPUTE # impute
- SEQKNN # SeqKNN
- RF # missForest
- IMPSEQ # rrcovNA
- QRILC # imputeLCMD
- SVDMETHOD # pcaMethods
- MICE-NORM # mice
- MLE # norm
- IRM # VIM
8 changes: 8 additions & 0 deletions project/config/single_dev_dataset/example/split.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FN_INTENSITIES: data/dev_datasets/HeLa_6070/protein_groups_wide_N50.csv
fn_rawfile_metadata: data/dev_datasets/HeLa_6070/files_selected_metadata_N50.csv
sample_completeness: 0.5
min_RT_time: 120
column_names:
- Gene Names
index_col: 0
meta_date_col: Content Creation Date
8 changes: 8 additions & 0 deletions project/config/single_dev_dataset/example/train_CF.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
folder_experiment: runs/example
file_format: csv
latent_dim: 50
batch_size: 4096
epochs_max: 20
sample_idx_position: 0
cuda: False
save_pred_real_na: True
8 changes: 8 additions & 0 deletions project/config/single_dev_dataset/example/train_DAE.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
file_format: csv
latent_dim: 10
batch_size: 10
epochs_max: 100
hidden_layers: "512"
sample_idx_position: 0
cuda: False
save_pred_real_na: True
2 changes: 2 additions & 0 deletions project/config/single_dev_dataset/example/train_KNN.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
neighbors: 3
file_format: csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
file_format: csv
1 change: 1 addition & 0 deletions project/config/single_dev_dataset/example/train_RSN.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
axis: 0 # per protein groups RSN
10 changes: 10 additions & 0 deletions project/config/single_dev_dataset/example/train_VAE.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# models_training:
folder_experiment: runs/example
file_format: csv
latent_dim: 25
batch_size: 10
epochs_max: 50
hidden_layers: "512_256"
sample_idx_position: 0
cuda: False
save_pred_real_na: True

0 comments on commit 3891f77

Please sign in to comment.