pyEntropy
pyEntropy copied to clipboard
Sample Entropy not same value
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)
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.