Metrics in Classification from Scratch

  • type 1 error (false_positive)
  • type 2 error (false_negative)
  • sensitivity , recall , false positive rate
  • specificity , false negative rate
  • precision , positive predicted value
  • accuracy
  • f1score

Classfication Metrics from sklearn

  • confusion_matrix
  • f1_score
  • average_precision_score
  • import recall_score
  • import accuracy_score
  • import classification_report

https://developers.google.com/machine-learning/crash-course/classification/roc-and-auc