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

Sample Entropy not same value #97

Open
allran opened this issue Aug 8, 2024 · 1 comment
Open

Sample Entropy not same value #97

allran opened this issue Aug 8, 2024 · 1 comment

Comments

@allran
Copy link

allran commented Aug 8, 2024

I compared the libraries:antropy, pyentrp, EntropyHub。
For example, calculate Sample Entropy, all not the same value。
Isn't the algorithm the same?

import antropy as ant
entropy1_5 = ant.sample_entropy(X)

from pyentrp import entropy as ent
entropy2_2 = ent.sample_entropy(X, 2)

import EntropyHub as EH
Samp, _, _ = EH.SampEn(X)
@nikdon
Copy link
Owner

nikdon commented Aug 12, 2024

I believe the differences in Sample Entropy values are due to variations in how each library implements the algorithm. You might want to check if the parameters you're passing are consistent across the libraries. There might be some small numerical differences as well.

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

No branches or pull requests

2 participants