Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Support for variable groups with differing numbers of outcomes #118

Closed
nathanielvirgo opened this issue Feb 16, 2022 · 0 comments · Fixed by #136
Closed

Support for variable groups with differing numbers of outcomes #118

nathanielvirgo opened this issue Feb 16, 2022 · 0 comments · Fixed by #136
Labels
enhancement New feature or request

Comments

@nathanielvirgo
Copy link

nathanielvirgo commented Feb 16, 2022

This is an enhancement request.

For some use cases it will not make sense to organise the variables into groups. The logical thing to do in such a case would be to put all the variables into a single group and just add that to the graph. However, this isn't currently possible if the variables don't all have the same number of outcomes.

As a workaround, I'm currently putting each variable in a NDVariableArray with a single element, but that leads to a lot of unnecessary syntax, since I have to refer to each variable as ("MyVariableName", 0) instead of "MyVariableName".

Hence I would like to request a variant on VariableDict in which each variable can have its own number of outcomes. This would be very useful for cases like this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants