How do I predict on new, unseen real data using pm.sample_posterior_predictive?

A pandas dataframe? Something like this should work:

    pm.set_data( {'my_observed_variable': df['my_column'].to_numpy()} )
1 Like