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

Feature request: Addition of Chi-Squared Entropy Algorithm #164

Closed
meeas opened this issue Jul 12, 2017 · 3 comments
Closed

Feature request: Addition of Chi-Squared Entropy Algorithm #164

meeas opened this issue Jul 12, 2017 · 3 comments

Comments

@meeas
Copy link

meeas commented Jul 12, 2017

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

@n1474335
Copy link
Member

n1474335 commented Jul 12, 2017

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.

@mattnotmitt
Copy link
Collaborator

mattnotmitt commented Jul 12, 2017

Taking a look now, though I'll probably hit a brick wall since my C is very rusty.
EDIT: Yeah I've got no idea what's going on in that code, someone else is going to have to take a stab at it.

@bwhitn bwhitn mentioned this issue Dec 18, 2017
@n1474335
Copy link
Member

Closed in #217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants