Skip to content

ENH: Add serialization to FramesStandardizer, remove saving with joblib #811

Description

@NickleDave

Using joblib to dump a fit FramesStandardizer leads to backwards-compatibility issues, e.g., because of a name change, as in #810

We should add read and write methods that just np.savez and np.load the arrays used to disk.

This doesn't magically solve errors that result from a name change, but it avoids the problem of needing the old environment around to unpickle the object. The numpy array format is super stable so we should rely on that instead.

Probably fine to just save it as a single-file, "standardizer.npz", don't bother doing something extra clever like saving in a directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ENH: enhancementenhancement; new feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions