Set up a Google Cloud Storage bucket
Upload the data files to your Cloud Storage bucket
Run a single-instance trainer in the cloud
Create a Cloud ML Engine model
Create a version v1 of your model
AI Platform: Qwik Start
This lab will give you hands-on practice with TensorFlow 2.x model training, both locally and on AI Platform. After training, you will learn how to deploy your model to AI Platform for serving (prediction). You'll train your model to predict income category of a person using the United States Census Income Dataset.
This lab gives you an introductory, end-to-end experience of training and prediction on AI Platform. The lab will use a census dataset to:
- Create a TensorFlow 2.x training application and validate it locally.
- Run your training job on a single worker instance in the cloud.
- Deploy a model to support prediction.
- Request an online prediction and see the response.
What you will build
The sample builds a classification model for predicting income category based on United States Census Income Dataset. The two income categories (also known as labels) are:
- >50K — Greater than 50,000 dollars
- <=50K — Less than or equal to 50,000 dollars
The sample defines the model using the Keras Sequential API. The sample defines the data transformations particular to the census dataset, then assigns these (potentially) transformed features to either the DNN or the linear portion of the model.
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the cloud console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.