Skip to content

Use numpy random generators to enable pickling of random state #209

Open
@jklaise

Description

@jklaise

Instead of using np.random.seed we should look at assigning a seeded random generator object to the explainer instance so that the random state can be recovered after deserializing a saved explainer.

That being said, it looks like np.random.RandomState is now legacy, we could use the default generator.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions