You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been playing around with it, and I've encountered an issue (maybe a bug?).
It looks like the function check_any_data_issues is looking to see if all of the weighting targets add up to 1. I have a situation where they do all add up to 1, but I'm getting the error message "Target variable ... has targets that do not sum to 1." I suspect this is a floating point comparison issue.
Here's a very small example that should be reproducible (let me know if it doesn't work for you):
Not that I know of - I came up with a very crude hack to circumvent it, but
I don't think the problem has been solved. (Possible I'm out of the loop,
though...)
On Tue, Aug 29, 2023 at 12:51 AM Donghui Wang ***@***.***> wrote:
I had exact the same problem where all proportions add to 1 but still got
error message. Is there a solution for this?
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ6OHXR36E4ZR5TXJLJH4DXXWNRZANCNFSM4O2CQOAQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Great package - thanks!
I've been playing around with it, and I've encountered an issue (maybe a bug?).
It looks like the function
check_any_data_issues
is looking to see if all of the weighting targets add up to 1. I have a situation where they do all add up to 1, but I'm getting the error message "Target variable ... has targets that do not sum to 1." I suspect this is a floating point comparison issue.Here's a very small example that should be reproducible (let me know if it doesn't work for you):
Created on 2020-07-14 by the reprex package (v0.3.0)
If I'm missing something, please let me know. Thanks again for all of your work on the package.
The text was updated successfully, but these errors were encountered: