How to Solve NameError: name 'recall_score' is not defined -- sklearn

Solution: Import the 'roc_auc_score, recall_score, confusion_matrix, classification_report' module

To Solve the error, add the following line to the top of your code.

from sklearn import  recall_score

 

For more information:
Python sklearn recall_score