menu
arrow_back

Machine Learning with TensorFlow

Machine Learning with TensorFlow

1 个小时 7 个积分

GSP273

Google Cloud Self-Paced Labs

Overview

In this lab you will learn how to use Google Cloud Machine Learning and TensorFlow to develop and evaluate prediction models using machine learning. TensorFlow is an open source, powerful, portable machine learning library developed by Google that can work with very large datasets.

This lab follows on from previous labs in this series where you created a basic prediction model using logistic regression with Spark and Pig and then used Cloud Dataflow to create training and test datasets using a pipeline that can also be used for prediction thereby eliminating the risk of training-serving skew with your prediction models. This lab is based on Chapter 9, Machine Learning Classifier Using TensorFlow, of the Data Science on Google Cloud Platform book from O'Reilly Media, Inc.

You will initially start by creating an experimental framework in Python to replicate the basic linear regression model using TensorFlow and will then expand this framework to evaluate models with more variables. This framework can then be used to compare the performance of these basic machine learning models to more complex machine learning models.

As with all of the other labs in this series, this lab provides useful experience working with data processing and data modelling techniques that will allow you to develop a data model that will predict whether flights will arrive at their destinations late given the specific details of the departure such as location, time of departure, actual departure delay, and taxi out time, etc.

The data set that is used provides historic information about internal flights in the United States retrieved from the US Bureau of Transport Statistics website. This data set can be used to demonstrate a wide range of data science concepts and techniques and is used in all of the other labs in the Data Science on Google Cloud Platform: Machine Learning quest. The specific datasets used for this lab are the aggregated datasets developed in the previous lab in this quest, Processing Time Windowed Data with Apache Beam and Cloud Dataflow (Java).

Objectives

  • Develop a basic TensorFlow experimental framework in Python
  • Extend the framework to create a Linear Classifier model with additional features
  • Deploy the experimental training and evaluation framework to Google Cloud ML

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验
分数

—/100

Check that the Python model.py file has been created

运行步骤

/ 25

Check for a Tensorflow model in the /tensorflow/trained_model directory

运行步骤

/ 25

Check for successful run of a gcloud ai-platform training job called flights-*

运行步骤

/ 25

Check that a trained model has been saved to Google Storage

运行步骤

/ 25