-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error small Variance #24
Comments
It is possible to create a Normal with no checks. It seems that the estimated sigma is sometimes negative. On first glace it seems this happens less often using the test environment. I tested different seeds in the unit test vs just calling it directly (where i got negative values for different seeds)
|
It seems to me to be a numerical error in |
For now added a warning in case of numerical error #25 |
* fix negative values due to numerical error #24 * add warning in case of numerical error src/bayesquads/bayesquad.jl Co-authored-by: Théo Galy-Fajou <[email protected]> * add missing syntax * Update src/bayesquads/bayesquad.jl Co-authored-by: Théo Galy-Fajou <[email protected]> Co-authored-by: Johannes Giersdorf <[email protected]> Co-authored-by: Théo Galy-Fajou <[email protected]>
The estimated variance is sometimes to small, so the Normal distribution can't be constructed.
Error message
Example
The text was updated successfully, but these errors were encountered: