Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement str-type uncertainty for the BlueiceExtendedModel #40

Open
hammannr opened this issue Jul 14, 2023 · 0 comments
Open

Implement str-type uncertainty for the BlueiceExtendedModel #40

hammannr opened this issue Jul 14, 2023 · 0 comments
Labels
enhancement New feature or request inference Statistics code

Comments

@hammannr
Copy link
Collaborator

Initially, I thought we could simply get away with evaluating the str if it starts with numpy. or scipy. but for the variation of the ancillary measurements, we'd need to know which of the parameters corresponds to the measured value.
One option to solve this would be to enable a wildcard $MEASUREMENT$ in the str (e.g. uncertainty: "scipy.stats.uniform(loc=-1+$MEASUREMENT$, scale=2" or "scipy.stats.skewnorm(a=4, loc=$MEASUREMENT$, scale=2"). But also not specifying it might be ok, e.g. if there are physical bounds and the measurement doesn't affect the constraints, maybe in this case we just want to raise a warning at the beginning or something like this.

But I don't know if this is the most user-friendly approach so if anyone has a better suggestion just let me know! 😊

@hammannr hammannr added enhancement New feature or request inference Statistics code labels Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request inference Statistics code
Projects
None yet
Development

No branches or pull requests

1 participant