Reader small image

You're reading from  Data Engineering with Google Cloud Platform - Second Edition

Product typeBook
Published inApr 2024
PublisherPackt
ISBN-139781835080115
Edition2nd Edition
Right arrow
Author (1)
Adi Wijaya
Adi Wijaya
author image
Adi Wijaya

Adi Widjaja is a strategic cloud data engineer at Google. He holds a bachelor's degree in computer science from Binus University and co-founded DataLabs in Indonesia. Currently, he dedicates himself to big data and analytics and has spent a good chunk of his career helping global companies in different industries.
Read more about Adi Wijaya

Right arrow

Exercise – practicing ML code using Python

In this section, we will use some of the terminologies we provided in the previous section and practice creating a quite simple ML solution using Python. The focus is for us to understand the steps and start using the correct terminologies.

For this exercise, we will be using Cloud Editor and Cloud Shell. I believe you either know of or have heard that the most common tool for creating ML models for data scientists is Jupyter Notebook. There are two reasons I choose to use the editor style. One, not many data engineers are used to the notebook coding style. Second, using the editor will make it easier to port the files to pipelines.

For our example use case, we will predict if a credit card customer fails to pay their credit card bill next month. I will name the use case credit card default. The dataset is available in the BigQuery public dataset. Let’s get started.

Here are the steps that you will complete in this exercise...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Data Engineering with Google Cloud Platform - Second Edition
Published in: Apr 2024Publisher: PacktISBN-13: 9781835080115

Author (1)

author image
Adi Wijaya

Adi Widjaja is a strategic cloud data engineer at Google. He holds a bachelor's degree in computer science from Binus University and co-founded DataLabs in Indonesia. Currently, he dedicates himself to big data and analytics and has spent a good chunk of his career helping global companies in different industries.
Read more about Adi Wijaya