Installing and importing the required packages

TensorFlow, as a package, is built to perform neural network computations. It works with the lazy evaluation concept, where the various elements of a neural network connection are to be specified, before executing the code.

Another API named Keras makes building neural networks a lot easier. In this chapter, we will be first leveraging the Keras package with TensorFlow running in its backend, and then we'll show how to build a neural network using the premade estimator and a custom estimator in TensorFlow.

In the previous chapters, we understood how to set up Datalab notebooks. In this chapter, we will see how to install and import the required packages into Datalab notebooks.

By default, Datalab ...

Get Hands-On Machine Learning on Google Cloud Platform 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.