We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca5360 commit 9f23987Copy full SHA for 9f23987
pymc_extras/statespace/core/statespace.py
@@ -2069,6 +2069,14 @@ def forecast(
2069
data_dims=["data_time", OBS_STATE_DIM],
2070
)
2071
2072
+ for name in self.data_names:
2073
+ if name in scenario.keys():
2074
+ pm.set_data(
2075
+ {"data": np.zeros_like(scenario[name])},
2076
+ coords={"data_time": np.arange(len(forecast_index))},
2077
+ )
2078
+ break
2079
+
2080
group_idx = FILTER_OUTPUT_TYPES.index(filter_output)
2081
mu, cov = grouped_outputs[group_idx]
2082
0 commit comments