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