Skip to content

Commit 6440dab

Browse files
committed
add missing call to validate data
1 parent 7d62c53 commit 6440dab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc_extras/model_builder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ def predict(
558558
>>> pred_mean = model.predict(prediction_data)
559559
"""
560560

561+
X_pred = self._validate_data(X_pred)
561562
posterior_predictive_samples = self.sample_posterior_predictive(
562563
X_pred, extend_idata, combined=False, **kwargs
563564
)

0 commit comments

Comments
 (0)