You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to use sample weights when using PFI. Whilst we can pass weights to the Explainer, it is not currently used in the loss calculation at each permutation round.
Could we open up the loss_function to take sample weights as optional argument?
The text was updated successfully, but these errors were encountered:
…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
Hi Dalex team - great job on the package!
I am looking to use sample weights when using PFI. Whilst we can pass
weights
to theExplainer
, it is not currently used in the loss calculation at each permutation round.Could we open up the
loss_function
to take sample weights as optional argument?The text was updated successfully, but these errors were encountered: