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

Solution: Import the 'AdaBoostClassifier' module

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

from sklearn.ensemble import AdaBoostClassifier

 

For more information:
Python sklearn AdaBoostClassifier