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
Current save/load methods focus on dumping and loading the pipeline definition in its JSON form, but provide no means to save a fitted pipeline and load it later to make predictions, being the usage of pickle outside of the pipeline the only way to go.
Let's re-implement the save/load methods to save the whole pipeline instance, and move the current save functionality to a to_json method.
Note that from_json is not needed anymore because the pipeline annotation can already be passed as a JSON path in the pipeline __init__ method.
The text was updated successfully, but these errors were encountered:
Current save/load methods focus on dumping and loading the pipeline definition in its JSON form, but provide no means to save a fitted pipeline and load it later to make predictions, being the usage of pickle outside of the pipeline the only way to go.
Let's re-implement the save/load methods to save the whole pipeline instance, and move the current save functionality to a
to_json
method.Note that
from_json
is not needed anymore because the pipeline annotation can already be passed as a JSON path in the pipeline__init__
method.The text was updated successfully, but these errors were encountered: