Open g-leech opened 7 years ago
A wee nonfunctional problem: you reuse the same four params for precision(), recall() and accuracy() in machine_learning.py. Should be:
precision()
recall()
accuracy()
def precision(tp, fp): return tp / (tp + fp)
def recall(tp, fn): return tp / (tp + fn)
A wee nonfunctional problem: you reuse the same four params for
precision()
,recall()
andaccuracy()
in machine_learning.py. Should be: