-
Notifications
You must be signed in to change notification settings - Fork 4
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
rounding the predicted mean up to the order of the most significative digit of the variance #102
Comments
I'm not sure about this one: I think I would still return the value at the precision that we've computed it but print a rounded value in the console. As I understand it, you're mostly bothered by this from a user perspective? I don't see why mathematically a more precise value what be less correct as I believe you suggested on msteams? |
https://web.ics.purdue.edu/~lewicki/physics218/significant#:~:text=(1)%20The%20number%20of%20significant,when%20stating%20the%20experimental%20uncertainty. it just doesn't make sense to ask the computer to create a probability distribution with a variance with a huge number of digits when you are already uncertain on the first one. if i tell you: the distance is 10 meters +-1.234134523543264363636347 |
@pat-alt i will just create an example of what i think should be done in this branch. |
Good idea! |
@pat-alt ok it requires a major overhaul and the juice isn't worth the squeeze. i guess we can close this issue. |
Sure? Seems like rounding shouldn't require too much of an overhaul? I'm happy to keep this open and just park it for now (could be good one to pick up if during my absence you run out of things to do or hit roadblocks somewhere else). But I'm also OK with closing it if you want to abandon it |
rounding makes the sum of the vectors of probabilities slightly different from 1 , which creates problem when we try to return categorical distributions. additionaly , the pytorch comparison tests fails because they do not implement any rounding. |
Got it! Maybe we can just print the rounded values? Might be an overkill though, so also happy to close this |
if someone uses it on a huge dataset the print statements will become annoying. |
as mentioned in msteams, i think we could round the variance to the first 1or 2 significative digits. we can introduce this change either in the .predict() function or directly in glm_predictive_distribution.
The text was updated successfully, but these errors were encountered: