An optimizer is an algorithm that updates a model’s parameters to reduce its loss. In Keras, you select one when compiling a model. section 10.3
The neural-network example selects Adam and names other optimizers to try:
- Adam section 10.3
- SGD, RMSProp, and AdaGrad section 10.3
model.compile(loss = 'categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
See the Keras compile call pairing categorical cross-entropy with Adam. section 10.3





























