pyro-ppl / brmp

Bayesian Regression Models in Pyro
Apache License 2.0
69 stars 8 forks source link

Allow integers to be used as categorical levels. #74

Closed null-a closed 4 years ago

null-a commented 4 years ago

This fixes #62. The root cause of that was a failure to correctly generate parameter names for a model when the levels of a category were not already strings. The test added here fails without the fix in this PR.