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

A few fixes and a proposal for the ShannonExntropyReason #24

Merged
merged 5 commits into from Dec 15, 2021
Merged

A few fixes and a proposal for the ShannonExntropyReason #24

merged 5 commits into from Dec 15, 2021

Conversation

Garve
Copy link
Contributor

@Garve Garve commented Dec 11, 2021

Hi!

I just made some minor changes and propose a first version of the ShannonEntropyReason that you discussed here.

Best
Robert

doubtlab/reason.py Outdated Show resolved Hide resolved
Copy link
Owner

@koaning koaning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good! Thanks :)

Left a few comments.

implemented from_proba for the entropy reason
@Garve Garve requested a review from koaning December 13, 2021 17:55
@koaning
Copy link
Owner

koaning commented Dec 13, 2021

It seems you forgot to add a docstring to the method which is triggering the interrogate step.

@Garve
Copy link
Contributor Author

Garve commented Dec 13, 2021

Oops! Fixed.

@koaning
Copy link
Owner

koaning commented Dec 15, 2021

Black seems to be complaining a bit, but I'll handle that. Thanks for the PR!

It'll be part of a new release that I'm planning to go along with #23.

@koaning koaning merged commit d1e22ad into koaning:main Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants