Reader small image

You're reading from  Hands-On Machine Learning on Google Cloud Platform

Product typeBook
Published inApr 2018
PublisherPackt
ISBN-139781788393485
Edition1st Edition
Right arrow
Authors (3):
Giuseppe Ciaburro
Giuseppe Ciaburro
author image
Giuseppe Ciaburro

Giuseppe Ciaburro holds a PhD and two master's degrees. He works at the Built Environment Control Laboratory - Università degli Studi della Campania "Luigi Vanvitelli". He has over 25 years of work experience in programming, first in the field of combustion and then in acoustics and noise control. His core programming knowledge is in MATLAB, Python and R. As an expert in AI applications to acoustics and noise control problems, Giuseppe has wide experience in researching and teaching. He has several publications to his credit: monographs, scientific journals, and thematic conferences. He was recently included in the world's top 2% scientists list by Stanford University (2022).
Read more about Giuseppe Ciaburro

V Kishore Ayyadevara
V Kishore Ayyadevara
author image
V Kishore Ayyadevara

V Kishore Ayyadevara leads a team focused on using AI to solve problems in the healthcare space. He has 10 years' experience in data science, solving problems to improve customer experience in leading technology companies. In his current role, he is responsible for developing a variety of cutting edge analytical solutions that have an impact at scale while building strong technical teams. Prior to this, Kishore authored three books — Pro Machine Learning Algorithms, Hands-on Machine Learning with Google Cloud Platform, and SciPy Recipes. Kishore is an active learner with keen interest in identifying problems that can be solved using data, simplifying the complexity and in transferring techniques across domains to achieve quantifiable results.
Read more about V Kishore Ayyadevara

Alexis Perrier
Alexis Perrier
author image
Alexis Perrier

Alexis Perrier is a data science consultant with experience in signal processing and stochastic algorithms. He holds a master's in mathematics from Universit Pierre et Marie Curie Paris VI and a PhD in signal processing from Tlcom ParisTech. He is actively involved in the DC data science community. He is also an avid book lover and proud owner of a real chalk blackboard, where he regularly shares his fascination of mathematical equations with his kids.
Read more about Alexis Perrier

View More author details
Right arrow

Essential Machine Learning

So far, in previous chapters, we went through the various ETL processes available in GCP. In this chapter, we will start our journey of machine learning and deep learning through the following topics:

  • Applications of machine learning
  • Supervised and unsupervised machine learning
  • Overview of major machine learning techniques
  • Data splitting
  • Measuring the accuracy of a model
  • The difference between machine learning and deep learning
  • Applications of deep learning

Applications of machine learning

Machine learning encompasses a set of techniques that learn from historical data. Based on the patterns learned from historical data, the machine learning technique predicts the probability of an event happening on a future dataset. Given the way in which machine learning works, there are multiple applications of the set of techniques. Let's explore some of them in the following sections.

Financial services

Some applications in the field of finance are as follows:

  • Identifying the riskiness of a loan/credit card applicant
  • Estimating the credit limit of a given customer
  • Predicting whether a card transaction is a fraudulent transaction
  • Identifying the customer segments that need to be targeted...

Supervised and unsupervised machine learning

Supervised machine learning constitutes the set of techniques that work towards building a model that approximate a function. The function takes a set of input variables, which are alternatively called independent variables, and tries to map the input variables to the output variable, alternatively called the dependent variable or the label.

Given that we know the label (or the value) we are trying to predict, for a set of input variables, the technique becomes a supervised learning problem.

In a similar manner, in an unsupervised learning problem, we do not have the output variable that we have to predict. However, in unsupervised learning, we try to group the data points so that they form logical groups.

A distinction between supervised and unsupervised learning at a high level can be obtained as shown in the following diagram:

In...

Overview of machine learning techniques

Before going through an overview of the major machine learning techniques, let's go through the function that we would want to optimize in a regression technique or a classification technique.

Objective function in regression

In a regression exercise, we estimate the continuous variable value. In such a scenario, our predictions can be lower than the actual value or higher; that is, the error value could be either positive or negative. In such a scenario, the objective function translates to minimizing the sum of squared values of the difference between the actual and predicted values of each of the observations in the dataset.

In mathematical terms, the preceding is written as...

Summary

In this chapter, we understood the major difference between supervised and unsupervised learning and got an overview of the major machine learning algorithms. We also understood the areas where deep learning algorithms shine over traditional machine learning algorithms, through examples of text and image analysis.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Machine Learning on Google Cloud Platform
Published in: Apr 2018Publisher: PacktISBN-13: 9781788393485
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Authors (3)

author image
Giuseppe Ciaburro

Giuseppe Ciaburro holds a PhD and two master's degrees. He works at the Built Environment Control Laboratory - Università degli Studi della Campania "Luigi Vanvitelli". He has over 25 years of work experience in programming, first in the field of combustion and then in acoustics and noise control. His core programming knowledge is in MATLAB, Python and R. As an expert in AI applications to acoustics and noise control problems, Giuseppe has wide experience in researching and teaching. He has several publications to his credit: monographs, scientific journals, and thematic conferences. He was recently included in the world's top 2% scientists list by Stanford University (2022).
Read more about Giuseppe Ciaburro

author image
V Kishore Ayyadevara

V Kishore Ayyadevara leads a team focused on using AI to solve problems in the healthcare space. He has 10 years' experience in data science, solving problems to improve customer experience in leading technology companies. In his current role, he is responsible for developing a variety of cutting edge analytical solutions that have an impact at scale while building strong technical teams. Prior to this, Kishore authored three books — Pro Machine Learning Algorithms, Hands-on Machine Learning with Google Cloud Platform, and SciPy Recipes. Kishore is an active learner with keen interest in identifying problems that can be solved using data, simplifying the complexity and in transferring techniques across domains to achieve quantifiable results.
Read more about V Kishore Ayyadevara

author image
Alexis Perrier

Alexis Perrier is a data science consultant with experience in signal processing and stochastic algorithms. He holds a master's in mathematics from Universit Pierre et Marie Curie Paris VI and a PhD in signal processing from Tlcom ParisTech. He is actively involved in the DC data science community. He is also an avid book lover and proud owner of a real chalk blackboard, where he regularly shares his fascination of mathematical equations with his kids.
Read more about Alexis Perrier