Closed krishnbera closed 5 days ago
@krishnbera one option here would be to disallow this at the model_config
?
Do you need the _
prefix in the parameter name?
Or is this just an example and this comes up in other places randomly?
@krishnbera ping
@krishnbera one option here would be to disallow this at the
model_config
? Do you need the_
prefix in the parameter name?Or is this just an example and this comes up in other places randomly?
Yes, we can disallow _
in model_config, should not be a big deal since one can use .
,etc in the parameter names. Closing this issue since it is not a bug (we can just specify this in the docs).
Describe the bug
HSSM._postprocess_initvals_deterministic
breaks when the parameters have "_" (underscores) in the names.HSSM version v0.2.2
To Reproduce Define a simple black-box model with a parameter that has "_" in the name.
Additional context This needs to be handled in
_get_prefix()
:https://github.com/lnccbrown/HSSM/blob/6a11c4764834b2904b96e13e2c09bc99e3914ccb/src/hssm/hssm.py#L1751