def test_histogram(): assert util.discrete_histogram("toy.csv", ["a"]) == [("0", 4, 0.4), ("6", 6, 0.6)]
def test_histogram(): assert util.discrete_histogram('toy.csv', ['a']) == [('0', 4, .4), ('6', 6, .6)]
def test_confusion2(): x = util.discrete_histogram("trainingData2.csv", ["phase"]) print x assert 1 == 2
def test_confusion2(): x = util.discrete_histogram('trainingData2.csv', ['phase']) print x assert 1 == 2