Implemented rng_fn to CAR/ICAR#7723
Conversation
|
|
|
Unless there's some subtle complexity I would suggest to implement as a SymbolicRV like in: #7685 |
Hi @jessegrabowski ! Yeah sure I'll do that . Is there any specified file for the test or I've to create a new file ? Thank You ! |
|
Go into It looks like you also have to run pre-commit |
Thanks @jessegrabowski for timely response! I've updated the rng_fn and added the test as per your request. Let me know if anything needs to change ? Once again Thank You ! |
|
Did you check the PR that Ricardo linked? This would be the preferred way to go. |
You're referring that to write the |
|
You would convert the entire distribution into a Then do the same logic you already did in the return cls(
inputs=[rng, size, mu, W, alpha, tau],
outputs=[next_rng, draws],
method=method,
)(rng, size, nu, mean, scale)The |
Hey @jessegrabowski ! I've implemented that part but struggling with test part . Can you help me out with and tell me that what I'm missing ? Here's the link of the code file & error Thank You ! |
|
You can push the code you have so far and we can look at it here |
|
Hi @Muhammad-Rebaal , are you still working on this ? If not, do you mind if I take a look at it ? Thank you 🙏 |

Hi @jessegrabowski , @ricardoV94 !
I've implemented the
rng_fnfor the designated classesCAR/ICARin the issue #7713 , so could you please review and let me know if there is anything needs to be changed .Thank You !
📚 Documentation preview 📚: https://pymc--7723.org.readthedocs.build/en/7723/