You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idata.attrs is used to reconstruct the model with save and load methods. This is a bit hard to keep the __init__, _save_input_params and load methods in sync.
Some check and test for this would be nice addition.
Potentially, the set_idata_attrs can be create_idata_attrs such that the model doesn't have to be fit in order to know if the model will not be able to saved properly.
Then the workflow in fit can be:
create_idata_attrs (fast and raise)
pm.sample (long)
set_idata_attrs
The text was updated successfully, but these errors were encountered:
The idata.attrs is used to reconstruct the model with
save
andload
methods. This is a bit hard to keep the__init__
,_save_input_params
andload
methods in sync.Some check and test for this would be nice addition.
Potentially, the
set_idata_attrs
can becreate_idata_attrs
such that the model doesn't have to be fit in order to know if the model will not be able tosaved
properly.Then the workflow in
fit
can be:create_idata_attrs
(fast and raise)pm.sample
(long)set_idata_attrs
The text was updated successfully, but these errors were encountered: