Error keras.optimizers import sgd

Course Name: Deep Reinforcement Learning in Trading, Section No: 17, Unit No: 1, Unit type: Notebook



I get this error when implementing this program on my pc.

 

ImportError: cannot import name 'sgd' from 'keras.optimizers' (C:\Users\Paul\anaconda3\lib\site-packages\keras\optimizers\__init__.py)

Hi Paul,



Did you install the correct version of the software as mentioned in the ReadMe.pdf? You can find it in the last unit of the course.



You may also refer to point 4 of Common Problems and Their Solution in this unit.



Hope this helps!

Thanks!