18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c,dit/multivariate/tests/test_total_correlation.py,,test_tc2,#,16
Before Change
assert_almost_equal(T(d), 1.0)
def test_tc2():
outcomes = ["0000", "0011", "0101", "0110",
"1001", "1010", "1100", "1111"]
pmf = [1/8] * 8
d = D(outcomes, pmf)
assert_almost_equal(T(d), 1.0)
def test_tc3():
outcomes = ["0000", "0011", "0101", "0110",
After Change
def test_tc2():
Test T of subvariables, with names
d = n_mod_m(4, 2)
assert_almost_equal(T(d, [[0], [1], [2]]), 0.0)
d.set_rv_names("XYZW")
assert_almost_equal(T(d, [["X"], ["Y"], ["Z"]]), 0.0)
In pattern: SUPERPATTERN
Frequency: 10
Non-data size: 8
Instances Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_total_correlation.py
Class Name:
Method Name: test_tc2
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_coinformation.py
Class Name:
Method Name: test_coi4
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_coinformation.py
Class Name:
Method Name: test_coi5
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_total_correlation.py
Class Name:
Method Name: test_tc4
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_coinformation.py
Class Name:
Method Name: test_coi3
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_coinformation.py
Class Name:
Method Name: test_coi6
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_total_correlation.py
Class Name:
Method Name: test_tc6
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_coinformation.py
Class Name:
Method Name: test_coi2
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_total_correlation.py
Class Name:
Method Name: test_tc5
Project Name: dit/dit
Commit Name: 18105dd355d0f8b2ea1ccf09e1cc83b77817cd5c
Time: 2013-11-23
Author: ryangregoryjames@gmail.com
File Name: dit/multivariate/tests/test_total_correlation.py
Class Name:
Method Name: test_tc3