BAITS.VDJ.tl.renyi_entropy

Contents

BAITS.VDJ.tl.renyi_entropy#

BAITS.VDJ.tl.renyi_entropy(probabilities, alpha_values=range(0, 10))#

Calculate the Rényi entropy for a given probability distribution and alpha.

Parameters: probabilities (list or numpy array): Probability distribution (should sum to 1). alpha (float): The order of the Rényi entropy.

Returns: float: The calculated Rényi entropy.