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