AdaDelta with Keras

The following snippet shows the usage of AdaDelta with Keras:

from keras.optimizers import Adadelta...adadelta = Adadelta(lr=0.0001, rho=0.9, epsilon=1e-6, decay=1e-2)model.compile(optimizer=adadelta,              loss='categorical_crossentropy',              metrics=['accuracy'])

The forgetting factor, μ, is represented by the parameter rho.

Get Mastering Machine Learning Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.