Open rlouf opened 4 years ago
A user should get at least some feedback, at best interesting information, when performing an action.
There are several things we need to consider when thinking about how to represent inference data in mcx
:
mcx
with a to_arviz()
method if we go the object way;This begs the question of the diagnostics when we append new samples to the trace. If we decide to keep track of them in the trace, besides divergences we have to think about how to handle them: do we manage their value at the execution level, or the in the trace?
I tend to lean towards the execution: why should the trace be anything else than a data store and manage calculations as well? The generate
executor can easily keep track of the state of the algorithms used to compute diagnostics; for sample
we would have to add these states to the class’ state.
A thought for people using mcx
in a production environment: the sampler should provide clear and actionable logs.
Opening this to have a discussion with myself about sampling UX.