예제 #1
0
def test_evaluation():
    i = irisclassifier.IrisClassifier()
    i.ingestion()
    i.segregation()
    i.train()
    res = i.evaluation()
    assert res > 0.75
예제 #2
0
def test_evaluation():
    i = irisclassifier.IrisClassifier()
    i.ingestion()
    i.segregation()
    i.train()
    res = i.evaluation()
    assert res > 0.75  # this allows me to pass or fail the test