Python Forum

Full Version: What module is missing?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am getting thee error as shown in the following attachment. It says normal not found. I guess I am missing a library/module.

So, what module should I import for this?
Any help appreciated. Thanks, in advance.

Led_Zepplin
What about using a search engine? It found numpy.random.Generator.normal() for me. It looks like a good candidate for generating white noise.
Next time post a link to the code you are copying. I found it here:

https://machinelearningmastery.com/what-...imization/

On that page I found this.

from numpy.random import normal