def compute_mi(data, alpha):
    (probs, j_probs) = compute_probs(data, alpha)
    return compute_mi_by_probs(probs, j_probs, np.log(j_probs))
def compute_mi(data, alpha):
    (probs, j_probs) = compute_probs(data, alpha)
    return compute_mi_by_probs(probs, j_probs, np.log(j_probs))