1 min readFeb 13, 2019
Depends on which entropy you’re trying to calculate. If you wish to calculate the entropy of a single feature, then each feature is random variable. If you wish to calculate the entropy of the mushroom dataset, then a “mushroom” is a random variable of which you sampled this dataset, and each sample has n-dimensions, where n is the number of features.