How to Solve NameError: name 'gaussian_filter' is not defined -- scipy

Solution: Import the 'gaussian_filter' module

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

from scipy.ndimage.filters import gaussian_filter

 

For more information:
Python scipy gaussian_filter