-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Feature request: Addition of Chi-Squared Entropy Algorithm #164
Labels
Comments
Great idea. If anyone would like to have a go at this please do, otherwise I'll do it myself when I get a spare minute. |
Taking a look now, though I'll probably hit a brick wall since my C is very rusty. |
Merged
Closed in #217 |
This was referenced Sep 26, 2022
This was referenced Oct 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Would love a Chi-Squared option to measure entropy. Implementation would be the same as your current Shannon entropy feature. Could look at the "ent" tool in Linux for examples and output comparisons.
Example
from Linux:
$ echo "This string is way too short of an example input to be of much value" | ent
Chi square distribution for 69 samples is 1329.72, and randomly
would exceed this value 0.01 percent of the times.
Possible solutions
Environment
The text was updated successfully, but these errors were encountered: