aemcmc
aemcmc copied to clipboard
Use `at.dot` instead of `@` to support sparse data matrices
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.
This may have been solved by https://github.com/aesara-devs/aesara/pull/1192.