StanModel¶
- class viabel.StanModel(fit)[source]¶
Class that encapsulates a PyStan model.
- Attributes:
supports_tempering
Whether the model supports tempering.
Methods
__call__
(model_param)Compute (unnormalized) log density of the model.
constrain
(model_param)Construct dictionary of constrained parameters.
set_inverse_temperature
(inverse_temp)If tempering supported, set inverse temperature.