-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Labeled dist-of-fun #1306
Labeled dist-of-fun #1306
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1306 +/- ##
==========================================
+ Coverage 72.55% 72.64% +0.08%
==========================================
Files 78 78
Lines 13009 13028 +19
==========================================
+ Hits 9439 9464 +25
+ Misses 3570 3564 -6
☔ View full report in Codecov by Sentry. |
ldd = DiscreteDistributionLabeled.from_dataset(f_query, self.pmv) | ||
ldd = DiscreteDistributionLabeled.from_dataset(f_query, self.probability) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably standardize this with DiscreteDistribution
... that's on me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this was the only kind of "bug" this addresses; it makes some cases work that didn't before.
The other stuff is a design question. Happy to merge this in without resolving that, but also happy to have a conversation, agree, and implement it.
Aims to fix: #1290
Still need to reach consensus with @alanlujan91 on whether the different behavior of
dist_of_func
andespected
depending on the class of their input is a feature, a bug, or a temporary solution.