How it works...

In this recipe we have shown how succinct creating and training models with Keras can be. Many of the intricate details of variable type, dimensions, and data ingestion are automatically handled for you.  While this can be reassuring, we should be aware that if we gloss over too many model details, we may be unintentionally implementing a wrong model.

Get TensorFlow Machine Learning Cookbook - Second Edition 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.