Boyang Yan

Home

❯

posts

❯

recall

recall

Apr 04, 20251 min read

Recall (also known as sensitivity) is the fraction of positives events that you predicted correctly as shown below:

We can obtain the accuracy score from scikit-learn, which takes as inputs the actual labels and the predicted labels

from sklearn.metrics import recall_score
recall_score(df.actual_label.values, df.predicted_RF.values)

Reference List

  1. https://towardsdatascience.com/understanding-data-science-classification-metrics-in-scikit-learn-in-python-3bc336865019

Graph View

Backlinks

  • classification metrics
  • accuracy score

Created with Quartz v4.5.0 © 2025