Skip to content

Commit

Permalink
Updtae
Browse files Browse the repository at this point in the history
  • Loading branch information
zyliang2001 committed Mar 12, 2024
1 parent 53d8a02 commit b2d1a61
Show file tree
Hide file tree
Showing 6 changed files with 1,427 additions and 1,223 deletions.
4 changes: 3 additions & 1 deletion feature_importance/01_run_ablation_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def compare_estimators(estimators: List[ModelConfig],
'model': model.name,
'fi': fi_est.name,
'splitting_strategy': splitting_strategy,
'train_size': X_train.shape[0]
'train_size': X_train.shape[0],
'num_features': X_train.shape[1],
'ablation_seed': seed
}
start = time.time()
if fi_est.name in ["LFI_with_raw", "LFI_without_raw"]:
Expand Down
4 changes: 3 additions & 1 deletion feature_importance/01_run_ablation_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def compare_estimators(estimators: List[ModelConfig],
'model': model.name,
'fi': fi_est.name,
'splitting_strategy': splitting_strategy,
'train_size': X_train.shape[0]
'train_size': X_train.shape[0],
'num_features': X_train.shape[1],
'ablation_seed': seed
}
start = time.time()
if fi_est.name in ["LFI_with_raw", "LFI_without_raw"]:
Expand Down
Loading

0 comments on commit b2d1a61

Please sign in to comment.