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