Skip to content

[Python] Use weights in Permutation Feature Importance calculation #563

Description

@danielarifmurphy

Hi Dalex team - great job on the package!

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Python 🐍Related to Pythonfeature 💡New feature or enhancement request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions