mdentropy.core.binning.doanes_rule

mdentropy.core.binning.doanes_rule(x)

Convenience function for choosing an optimal number of bins using Doane’s Rule.

Parameters:

x : numpy.ndarray or list of floats

Data to be binned.

Returns:

n_bins : int