probcomp / cgpm

Library of composable generative population models which serve as the modeling and inference backend of BayesDB.
Apache License 2.0
25 stars 11 forks source link

Implement arbitrary diagnostics functions for crosscat.state.State.transition #220

Open fsaad opened 7 years ago

fsaad commented 7 years ago

Diagnostic func should take the state and performs arbitrary operations. Makes it easier to run transitions with arbitrary diagnostics at some amount of checkpoints, without the client having to pause inference, run diagnostics, and continue.