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

Solution: Import the 'make_pipeline' module

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

from sklearn.pipeline import make_pipeline

 

For more information:
Python make_pipeline sklearn