aesara-devs / aemcmc

AeMCMC is a Python library that automates the construction of samplers for Aesara graphs representing statistical models.
https://aemcmc.readthedocs.io/en/latest/
MIT License
39 stars 11 forks source link

Use `at.dot` instead of `@` to support sparse data matrices #19

Open rlouf opened 2 years ago

rlouf commented 2 years ago

We should be able use both sparse and dense matrices for X in horseshoe_nbinom_gibbs. While Aesara is designed so that at.dot can be used with both, @ currently raises an error when used with a sparse matrices. I raised an issue on the Aesara repo https://github.com/aesara-devs/aesara/issues/881, in the meantime we can use at.dot here.

rlouf commented 2 years ago

This may have been solved by https://github.com/aesara-devs/aesara/pull/1192.