July 2017
Intermediate to advanced
382 pages
9h 13m
English
The core data structure of Keras is a model, which is similar to OpenCV's classifier object, except it focuses on neural networks only. The simplest type of model is the Sequential model, which arranges the different layers of the neural net in a linear stack, just like we did for the MLP in OpenCV:
In [1]: from keras.models import Sequential... model = Sequential()Out[1]: Using TensorFlow backend.
Then different layers can be added to the model one by one. In Keras, layers do not just contain neurons, they also perform a function. Some core layer types include the following:
Read now
Unlock full access