Better documentation of save and load methods #834
Labels
docs
Improvements or additions to documentation
ModelBuilder
Related to the ModelBuilder class and its children
What are the requirement of the inference data/ attrs? What methods are required from child classes?
Currently seems like the process is save and load a single
InferenceData
object. Apart from the usual prior, posterior, etc, this object will have:fit_data
group which will contain the data used for fitting the modelattrs
attribute which has all the required information to reconstructure the initial model. This only has the restriction of being JSON serializable.However, in this process, there seems to be much writing in order to load a model as the
attrs
need to be parsed and the class needs to be reconstructed. Aside from just loading, the model needs to be built.The text was updated successfully, but these errors were encountered: