Optimizer

From PRIMO.ai
Jump to navigation Jump to search

YouTube search... ...Google search

There are many options for optimizer in TensorFlow. Optimizers are the tool to minimise loss between prediction and real value. There are many different weights a model could learn, and brute-force testing every one would take forever. Instead, an optimizer is chosen which evaluates the loss value, and smartly updates the weights. Click here For a list of Keras optimizer functions. Optimizer is one of the two parameters required to compile a model...



model.compile(optimizer='sgd'. loss='mean_squared_error')


Genetic Algorithm Optimization