def test_stacked3(): """ Test against known values. """ i = intrinsic_mutual_information(stacked, [[0], [1]], [2]) assert i == pytest.approx(1/3)
def test_stacked3(): """ Test against known values. """ i = intrinsic_mutual_information(stacked, [[0], [1]], [2]) assert i == pytest.approx(1 / 3)