SklearnModelAdapter.coefficients#

SklearnModelAdapter.coefficients(*, group='posterior')[source]#

Return fitted sklearn coefficients as singleton posterior draws.

Parameters:

group (Literal['prior', 'posterior']) – Only the implicit posterior atom exists on point-estimate backends; requesting "prior" raises the group-not-sampled error naming sample_prior_predictive().

Return type:

DataArray