LoslegenKostenlos loslegen

Saving and updating models

Once you have gone through the steps of the Box-Jenkins method and arrived at a model you are happy with, you will want to be able to save that model and also to incorporate new measurements when they are available. This is key part of putting the model into production.

In this exercise you will save a freshly trained model to disk, then reload it to update it with new data.

The model is available in your environment as model.

Diese Übung ist Teil des Kurses

ARIMA Models in Python

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Import joblib
____

# Set model name
filename = ____

# Pickle it
joblib.dump(____,____)
Code bearbeiten und ausführen