AttributeError: module ‘keras.optimizers’ has no attribute ‘Adam’

I am getting an error when running the “Keras Network Learner” on KNIME. It gives the following error:

ERROR Keras Network Learner 6:16 module ‘keras.optimizers’ has no attribute ‘Adam’

Traceback (most recent call last):

File “”, line 7, in

AttributeError: module ‘keras.optimizers’ has no attribute ‘Adam’

Will appreciate if anyone can help me fix this. I am really not sure which python file I should be looking into, to fix the issue with importing the modules for the training process, as that is what is hinted by the error above. Thanks in advance!