Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz committed Jun 27, 2024
1 parent 4b4a242 commit b765b38
Show file tree
Hide file tree
Showing 2 changed files with 1,922 additions and 1,896 deletions.
3,817 changes: 1,922 additions & 1,895 deletions docs/source/notebooks/mmm/mmm_example.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pymc_marketing/model_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@ def sample_prior_predictive(
if not hasattr(self, "model"):
self.build_model(X_pred, y_pred)

self._data_setter(X_pred, y_pred)
with self.model: # sample with new input data
prior_pred: az.InferenceData = pm.sample_prior_predictive(samples, **kwargs)
self.set_idata_attrs(prior_pred)
Expand Down

0 comments on commit b765b38

Please sign in to comment.