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
{{ message }}
Repository navigation
Feature: Optionally Include Training Data in SklearnSerializer Output #47
Feature: Optionally Include Training Data in SklearnSerializer Output
Summary:
Add support for optionally including training data (X, y) in the output of SklearnSerializer.serialize. This would allow users to pass the original training features and targets when serializing a model, resulting in a training_data key in the serialized dictionary.
Motivation:
Enables reproducibility and easier model inspection by storing the data used for training alongside the model parameters and attributes.
Facilitates downstream tasks such as model validation, auditing, and sharing, where access to the original training data is beneficial.
Proposed API Change:
Update the serialize method to accept optional X and y parameters.
If provided, include a training_data key in the output dictionary:
Activity