How to Solve NameError: name 'classification_report' is not defined -- sklearn
Solution: Import the 'classification_report' module
To Solve the error, add the following line to the top of your code.
from sklearn.metrics import classification_report
For more information:
Python classification_report sklearn