Skip to content

Commit fceb2c7

Browse files
lets see if this goes through
1 parent 292edb1 commit fceb2c7

File tree

6 files changed

+1260
-861
lines changed

6 files changed

+1260
-861
lines changed

feature_importance/feature_ranking.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#SBATCH --mail-type=ALL
44

55
source activate mdi
6-
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"
6+
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"
77

88
# Execute the command
99
python $command

feature_importance/fi_config/mdi_local/real_x_sim_y/diabetes-regression/linear-model/dgp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
X_PARAMS_DICT = {
88
"source": "imodels",
99
"data_name": "diabetes_regr",
10-
"sample_row_n": None
10+
"sample_row_n": 400
11+
#"sample_row_n": None
1112
}
1213

1314
Y_DGP = linear_model
@@ -25,5 +26,4 @@
2526
# "300": 300, "400": 400}}
2627

2728
VARY_PARAM_NAME = ["heritability"]
28-
VARY_PARAM_VALS = {"heritability": {"0.1": 0.1, "0.2": 0.2,
29-
"0.4": 0.4, "0.8": 0.8}}
29+
VARY_PARAM_VALS = {"heritability": {"0.4": 0.4, "0.8": 0.8}}

feature_importance/fi_config/mdi_local/real_x_sim_y/diabetes-regression/linear-model/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
ESTIMATORS = [
99
[ModelConfig('RF', RandomForestRegressor, model_type='tree',
10-
other_params={'n_estimators': 100, 'min_samples_leaf': 1, 'max_features': 0.33, 'random_state': 42})]
10+
other_params={'n_estimators': 100, 'min_samples_leaf': 5, 'max_features': 0.33, 'random_state': 42})]
1111
]
1212

1313
FI_ESTIMATORS = [

0 commit comments

Comments
 (0)