Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when compute pps in Cumulative Model, the version of bambi is 0.14.0 #858

Open
wenboyu0803 opened this issue Nov 21, 2024 · 4 comments
Labels

Comments

@wenboyu0803
Copy link

Hi, i encounter an error when run bayes model

idata_pps = model.predict(idata = idata, kind="response", inplace=False)

AttributeError: module 'xarray' has no attribute 'Coordinates'

Thanks

Wenbo

@wenboyu0803 wenboyu0803 changed the title Error when compute pps in Cumulative Model Error when compute pps in Cumulative Model, the version of bambi is 0.14.0 Nov 22, 2024
@GStechschulte
Copy link
Collaborator

Hey @wenboyu0803 apologies for the delayed response. At the moment, I can't reproduce your error as I am (for some weird reason) getting multiprocessing errors when fitting a cumulative model. Once I get this resolved, I will circle back here.

@tomicapretto
Copy link
Collaborator

Hi @wenboyu0803 do you have a minimum example I can run? Also, do you know which versions of arviz, bambi, and xarray you're running?

@tomicapretto
Copy link
Collaborator

xarray.Coordinates were introduced in v2023.08.0 of xarray (see https://github.com/pydata/xarray/releases/tag/v2023.08.0). I think you are using an old version.

@wenboyu0803
Copy link
Author

hi @tomicapretto
i will check the version of xarray these days.
if it still does not work, i will show you my data.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants