How to find entropy of Continuous variable in Python?

Viewed 4148
2 Answers

We can create histogram of the variable and use the bins to create finite set of categories. This would act as the discrete version of the continuous variable. Or calculate nth percentile and use them as categories.

Related