-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingtime_seriesTopics related to the time seriesTopics related to the time series
Milestone
Description
This is a critical bug.
TRAINING PHASE
from pycaret.datasets import get_data
data = get_data('airline')
from pycaret.time_series import *
s = setup(data, fold = 5, fh = 12, session_id = 123)
best = compare_models()
save_model(best, 'best-model')
It works fine. Model is saved. The problem happens during prediction. See below:
PREDICTION PHASE (IN NEW NOTEBOOK)
from pycaret.time_series import load_model
l = load_model('best-model')
ValueError: _CURRENT_EXPERIMENT global variable is not set. Please run setup() first.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtime_seriesTopics related to the time seriesTopics related to the time series