raphaelvallat / entropy

EntroPy: complexity of time-series in Python (DEPRECATED)
https://raphaelvallat.com/entropy/
BSD 3-Clause "New" or "Revised" License
155 stars 47 forks source link

Doubt regarding permutation entropy #2

Closed ManiSravaniKothapalli closed 4 years ago

ManiSravaniKothapalli commented 5 years ago

Hi

Here in the given code what does order=3 mean in the implementation? Please help.

Thanks Mani Sravani

vpolimenov commented 5 years ago

In general:

Order is defined as the number of possible states in which a particular system can be in

Here is a good Quora discussion.

However, it's a very good question of why it was decided that 3 is the best default value.

ManiSravaniKothapalli commented 5 years ago

Thanks for the reply. What does metric='chebyshev' mean? or Is there any other format for calculating Approximate Entropy? Please do explain Thanks in Advance

ManiSravaniKothapalli commented 5 years ago

app_entropy(x, order=2, metric='chebyshev') this is not working for me in python. It is showing the error mentioned in the screenshot error

Please help me out.

vpolimenov commented 5 years ago

No module named 'entropy' means you haven't installed the package. Check this out https://github.com/raphaelvallat/entropy/issues/1#issuecomment-478627100.

About your previous comment: Chebyshev distance

I usually go with the minkowski distance as it is a generalization that unifies Euclidean distance, Manhattan distance, and Chebyshev distance.