bambi icon indicating copy to clipboard operation
bambi copied to clipboard

Setting alias to random intercept of the parent parameter unexpectedly changes the name of the factor dimension

Open digicosmos86 opened this issue 7 months ago • 4 comments

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):

image

I use model.set_alias({ "v": { "1|participant_id": "v_1|participant_id" } })

After rebuilding the model, the graph looks like this:

image

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

digicosmos86 avatar Jul 19 '24 18:07 digicosmos86