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