Skip to content

Commit

Permalink
add few experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
zyliang2001 committed Nov 24, 2024
1 parent bc4681a commit 01b374b
Show file tree
Hide file tree
Showing 77 changed files with 10,124 additions and 4,353 deletions.
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_classification_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_classification_retrain.py --nreps 1 --config mdi_local.real_data_classification_credit_g_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name credit_g_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_classification_script2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_classification_retrain.py --nreps 1 --config mdi_local.real_data_classification_csi_pecarn_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name csi_pecarn_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_classification_script3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_classification_retrain.py --nreps 1 --config mdi_local.real_data_classification_juvenile_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name juvenile_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_classification_script4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_classification_retrain.py --nreps 1 --config mdi_local.real_data_classification_Ionosphere_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name Ionosphere_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
2 changes: 1 addition & 1 deletion feature_importance/00_ablation_regression_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_retrain.py --nreps 1 --config mdi_local.real_data_regression_retrain --split_seed 0 --rf_seed ${1} --ignore_cache --create_rmd --folder_name linear_retrain --fit_model True --absolute_masking True"
command="00_run_ablation_regression_retrain.py --nreps 1 --config mdi_local.real_data_regression_parkinsons_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name parkinsons_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_regression_script2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_retrain.py --nreps 1 --config mdi_local.real_data_regression_performance_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name performance_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_regression_script3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_retrain.py --nreps 1 --config mdi_local.real_data_regression_temperature_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name temperature_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_regression_script4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_retrain.py --nreps 1 --config mdi_local.real_data_regression_CCLE_PD_0325901_retrain --split_seed ${1} --rf_seed ${2} --ignore_cache --create_rmd --folder_name CCLE_PD_0325901_retrain --fit_model True --absolute_masking True"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_regression_stability_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_stability.py --nreps 1 --config mdi_local.real_data_regression_parkinsons_retrain --split_seed ${1} --ignore_cache --create_rmd --folder_name parkinsons_stability"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_regression_stability_script2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_stability.py --nreps 1 --config mdi_local.real_data_regression_performance_retrain --split_seed ${1} --ignore_cache --create_rmd --folder_name performance_stability"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_regression_stability_script3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_stability.py --nreps 1 --config mdi_local.real_data_regression_temperature_retrain --split_seed ${1} --ignore_cache --create_rmd --folder_name temperature_stability"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_regression_stability_script4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --partition=yugroup
source activate mdi
# Need to specify --result_name --ablate_features(default all features) --fitted(default not fitted)
command="00_run_ablation_regression_stability.py --nreps 1 --config mdi_local.real_data_regression_CCLE_PD_0325901_retrain --split_seed ${1} --ignore_cache --create_rmd --folder_name CCLE_PD_0325901_stability"

# Execute the command
python $command
10 changes: 10 additions & 0 deletions feature_importance/00_ablation_script_class.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

slurm_script="00_ablation_classification_script4.sh"

for split_seed in {1..3}; do
for rf_seed in {1..5}; do
sbatch $slurm_script $split_seed $rf_seed # Submit SLURM job with both split_seed and rf_seed as arguments
sleep 2
done
done
11 changes: 6 additions & 5 deletions feature_importance/00_ablation_script_regr.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/bash

slurm_script="00_ablation_regression_script.sh"
slurm_script="00_ablation_regression_script4.sh"

for rep in {1..2}
do
sbatch $slurm_script $rep # Submit SLURM job using the specified script
sleep 2
for split_seed in {1..3}; do
for rf_seed in {1..5}; do
sbatch $slurm_script $split_seed $rf_seed # Submit SLURM job with both split_seed and rf_seed as arguments
sleep 2
done
done
8 changes: 8 additions & 0 deletions feature_importance/00_ablation_script_regr_stability.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

slurm_script="00_ablation_regression_stability_script4.sh"

for split_seed in {1..3}; do
sbatch $slurm_script $split_seed # Submit SLURM job with both split_seed and rf_seed as arguments
sleep 2
done
Loading

0 comments on commit 01b374b

Please sign in to comment.