Skip to content

Commit

Permalink
recommitting
Browse files Browse the repository at this point in the history
  • Loading branch information
zachrewolinski committed May 15, 2024
1 parent 51f608a commit 292edb1
Show file tree
Hide file tree
Showing 12 changed files with 1,992 additions and 1,706 deletions.
10 changes: 0 additions & 10 deletions feature_importance/01_ablation_classification_script.sh

This file was deleted.

10 changes: 0 additions & 10 deletions feature_importance/01_ablation_regression_script.sh

This file was deleted.

8 changes: 0 additions & 8 deletions feature_importance/01_ablation_script.sh

This file was deleted.

Binary file removed feature_importance/diabetes_regression_test.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed feature_importance/diabetes_regression_train.png
Binary file not shown.
2 changes: 1 addition & 1 deletion feature_importance/feature_ranking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#SBATCH --mail-type=ALL

source activate mdi
command="ranking_importance_local_sims.py --nreps 1 --config mdi_local.real_x_sim_y.diabetes-regression.lss-model --split_seed 6 --ignore_cache --create_rmd --result_name diabetes-reg-lss"
command="ranking_importance_local_sims.py --nreps 1 --config mdi_local.real_x_sim_y.diabetes-regression.linear-model --split_seed ${1} --ignore_cache --create_rmd --result_name diabetes-reg-linear"

# Execute the command
python $command
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"s": 5
}

VARY_PARAM_NAME = ["heritability", "sample_row_n"]
VARY_PARAM_VALS = {"heritability": {"0.1": 0.1, "0.2": 0.2,
"0.4": 0.4, "0.8": 0.8},
"sample_row_n": {"100": 100, "200": 200,
"300": 300, "400": 400}}

# VARY_PARAM_NAME = ["heritability"]
# VARY_PARAM_NAME = ["heritability", "sample_row_n"]
# VARY_PARAM_VALS = {"heritability": {"0.1": 0.1, "0.2": 0.2,
# "0.4": 0.4, "0.8": 0.8}}
# "0.4": 0.4, "0.8": 0.8},
# "sample_row_n": {"100": 100, "200": 200,
# "300": 300, "400": 400}}

VARY_PARAM_NAME = ["heritability"]
VARY_PARAM_VALS = {"heritability": {"0.1": 0.1, "0.2": 0.2,
"0.4": 0.4, "0.8": 0.8}}
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
from feature_importance.scripts.competing_methods_local import *
from sklearn.linear_model import Ridge


ESTIMATORS = [
[ModelConfig('RF', RandomForestRegressor, model_type='tree',
other_params={'n_estimators': 100, 'min_samples_leaf': 5, 'max_features': 0.33, 'random_state': 42})]
other_params={'n_estimators': 100, 'min_samples_leaf': 1, 'max_features': 0.33, 'random_state': 42})]
]

FI_ESTIMATORS = [
Expand Down
Loading

0 comments on commit 292edb1

Please sign in to comment.