bambi
bambi copied to clipboard
Setting alias to random intercept of the parent parameter unexpectedly changes the name of the factor dimension
Thank you so much, the Bambi team, for the latest version! The graphs look much cleaner now. There is one small inconsistency, though. For example: I have a model built in Bambi with the following graph (v
is the parent parameter here):
I use model.set_alias({ "v": { "1|participant_id": "v_1|participant_id" } })
After rebuilding the model, the graph looks like this:
Note the new plate v_1|participant_id__factor_dim
. It seems that this should not be changed with aliasing like this. The corresponding dimension in the InferenceData that bambi creates also changes, creating a bit of an inconsistency here