PIEModel.predict_posterior#
- PIEModel.predict_posterior(X, extend_idata=True, combined=True, **kwargs)[source]#
Posterior predictive draws for
Xas a single DataArray.Overrides
RegressionModelBuilder.predict_posterior()to skip the inheritedsklearn.utils.check_array()validation, which would coerce the feature DataFrame to a numeric ndarray (dropping column names and rejecting the categorical columnsPIEModellabel-encodes itself).- Parameters:
- Returns:
xarray.DataArrayPosterior predictive draws for
self.output_varin the original target scale.