Skip to content

Have a factory based creation of alibi explainers (based on config) #494

Open
@sakoush

Description

@sakoush

alibi detect is considering init based config or something similar, which will be good to apply for explain at some point as well.

Currently implementation details of alibi explainers are leaked in mlserver which we are trying to keep at minimum. Ideally mlserver should depend on interfaces and not concrete implementations.

For example If we can create the explainer from config / factory on the alibi side, mlserver doesnt need to depend on specific impl of explainers.

I am using a hack now to have a loose dependency injection by having a config map on mlserver side. However any change to alibi implementation details will require an (unnecessary) change to mlserver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions