A quick tour of the Keras functional API

So far, we've used sequential models. In the sequential model, layers get stacked on top of each other when we call model.add(). The advantage of the functional API is that it is simple and prevents errors. The disadvantage is that it only allows us to stack layers linearly:

A quick tour of the Keras functional API

GoogLeNet Architecture from Szegedy and others' "Going Deeper with Convolutions"

Take a look at the preceding GoogLeNet architecture. While the graph is very detailed, what we need to take away is the fact that the model is not just a number of layers stacked on top of each other. Instead, there are multiple layers in parallel; in this ...

Get Machine Learning for Finance 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.