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