Bugfix in Measures.get_point_statistics for multivariate models
This commit is contained in:
parent
1a00a4aa4e
commit
c4f264a1f2
@ -323,6 +323,9 @@ def get_point_statistics(data, model, **kwargs):
|
||||
|
||||
if steps_ahead == 1:
|
||||
forecasts = model.predict(ndata, **kwargs)
|
||||
|
||||
if model.is_multivariate:
|
||||
ndata = ndata[model1.target_variable.data_label].values
|
||||
|
||||
if not isinstance(forecasts, (list, np.ndarray)):
|
||||
forecasts = [forecasts]
|
||||
|
Loading…
Reference in New Issue
Block a user