susanli2016 / Machine-Learning-with-Python

Python code for common Machine Learning Algorithms
4.25k stars 4.81k forks source link

Is precision confused with recall? #7

Open leonardgithub opened 5 years ago

leonardgithub commented 5 years ago

in https://github.com/susanli2016/Machine-Learning-with-Python/blob/master/Employee_Turnover.ipynb, for the confusion matrix of random forest model, I think the precision is 991/(991+47), recall is 991/(991+54).