09.05.2023 Views

pdfcoffee

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 12

When you log in to Colaboratory at https://colab.research.google.com/

notebooks/intro.ipynb#recent=true, you have the option to open an existing

Jupyter Notebook from your drive or from GitHub. You can also upload an existing

notebook from your computer or create a new notebook. For beginners, it also

contains some example notebooks, as seen in the following screenshot:

Figure 6: A screenshot of the Colaboratory

You can create a new notebook as well, by clicking on the blue link in the bottomright

corner (in the preceding screenshot). This will create a Python 3 notebook.

Jupyter plans to phase out Python 2 support by January 2020.

Google too shall phase out the Python 2 support from Colaboratory

after that.

To choose the hardware accelerator, you need to go to Edit | Notebook Settings and

select the required hardware accelerator (None/GPU/TPU. For more information

on TPUs refer to Chapter 16, Tensor Processing Unit). The Notebook environment

comes installed with most useful Python packages (TensorFlow, NumPy, Matplotlib,

Pandas, and so on).

[ 453 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!