-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #563: Use
weights
in Permutation Feature Importance calculati…
…on (#564) * Pass explainer weights to loss_after_permutation * Define weights for sampled data * Function to handle loss functions with or without sample_weight arg * Replace loss function calls with wrapper * Add imports * Avoid ambiguous truth values * More explicit warning if weights passed but not used in loss calc
- Loading branch information
1 parent
db2ae5d
commit 9884571
Showing
1 changed file
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters