09.05.2023 Views

pdfcoffee

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 14

The dataset is hosted on Kaggle, a web site dedicated to machine learning where

people can compete in creating ML models shared with the community. The

dataset can be accessed at https://www.kaggle.com/paultimothymooney/chestxray-pneumonia.

So, we need to get the dataset from Kaggle. Let's activate Cloud

Shell from the upper-right corner of Google Cloud Console (see Figure 26):

Figure 26: AutoML Vision – activating Cloud Shell

Then, we can install Kaggle with pip (see Figure 27):

sudo pip install kaggle

Figure 27: AutoML Vision - getting Kaggle data

Now, we need to generate a token from Kaggle, which can be done by accessing

https://www.kaggle.com/<YourLogin>/account (see Figure 28):

Figure 28: Kaggle – creating a new Kaggle API token

[ 515 ]

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

Saved successfully!

Ooh no, something went wrong!