@@ -563,7 +563,7 @@ def predict(
563
563
"""
564
564
565
565
posterior_predictive_samples = self .sample_posterior_predictive (
566
- X_pred , extend_idata , predictions , combined = False , ** kwargs
566
+ X_pred , extend_idata , combined = False , predictions = predictions , ** kwargs
567
567
)
568
568
569
569
if self .output_var not in posterior_predictive_samples :
@@ -628,7 +628,7 @@ def sample_prior_predictive(
628
628
629
629
return prior_predictive_samples
630
630
631
- def sample_posterior_predictive (self , X_pred , extend_idata , predictions , combined , ** kwargs ):
631
+ def sample_posterior_predictive (self , X_pred , extend_idata , combined , predictions = True , ** kwargs ):
632
632
"""
633
633
Sample from the model's posterior predictive distribution.
634
634
@@ -734,7 +734,7 @@ def predict_posterior(
734
734
735
735
X_pred = self ._validate_data (X_pred )
736
736
posterior_predictive_samples = self .sample_posterior_predictive (
737
- X_pred , extend_idata , predictions , combined , ** kwargs
737
+ X_pred , extend_idata , combined , predictions = predictions , ** kwargs
738
738
)
739
739
740
740
if self .output_var not in posterior_predictive_samples :
0 commit comments