cipy.exp is deprecated and will be removed in SciPy 2.0.0 code example
Example: scipy.arange is deprecated and will be removed
You could instead import numpy as np and use the np.arange().
You could instead import numpy as np and use the np.arange().