Machine learning in the cloud

Qwiklabs-Courses
4 May 202312:06

Summary

TLDRThe video script explores the challenges of teaching computers to understand the complex, messy world as humans do. It discusses the evolution of artificial intelligence, machine learning, and deep learning, emphasizing their applications in everyday life like Google Maps and search recommendations. The script highlights the importance of training data in machine learning, the adaptability of algorithms across different use cases, and the ease of entry into the field due to advancements in technology. It also introduces Google Cloud's machine learning options, including BigQuery ML, AutoML, custom training, and pre-built APIs.

Takeaways

  • 🌐 The world is complex for computers, which lack the intuitive understanding humans have for everyday objects.
  • 💡 Early computing relied on logic, but real-world challenges require systems that can learn from their environment.
  • 🤖 Artificial Intelligence (AI) aims to create machines capable of learning from their surroundings and improving over time.
  • 📈 There are various approaches to AI, including pattern recognition, neural networks, reinforcement learning, and statistical inference.
  • 🔄 Progress in AI is tied to advancements in technology, such as increased computing power and larger data sets.
  • 🌟 AI applications are ubiquitous, often rebranded once they become commonplace, like search recommendations and language translation.
  • 📊 Machine Learning (ML) is a subset of AI that uses data examples to enable machines to learn and improve without explicit programming.
  • 📚 Training an ML model requires a dataset with inputs and corresponding labels to teach the model to recognize patterns.
  • 🔍 Deep Learning is a subset of ML that adds layers for more complex learning, particularly useful for unstructured data like images and speech.
  • 🔧 Algorithms or ML models are standardized and can be applied to different use cases after being trained on specific data.
  • 🌉 Google Cloud provides multiple options for building ML models, including BigQuery ML, AutoML, custom training, and pre-built APIs.

Q & A

  • What is the difference between machine learning and traditional computing logic?

    -Traditional computing relies on hard logical rules, while machine learning allows computers to learn from data, examples, and mistakes, rather than being explicitly programmed for every possible scenario.

  • How has machine learning improved the things we use daily, like Maps or search engines?

    -Machine learning enhances tools like Maps and search engines by allowing them to learn from vast amounts of data. This enables features such as real-time traffic updates, more accurate search results, and personalized recommendations.

  • What is the significance of data in machine learning models?

    -Data is crucial in machine learning because it helps train the models. A machine learning model is only as good as the data it learns from, requiring large amounts of high-quality, labeled examples to make accurate predictions.

  • How does deep learning differ from other forms of machine learning?

    -Deep learning is a subset of machine learning that uses neural networks with multiple layers, enabling it to work with unstructured data like images, speech, or natural language, while other machine learning methods often handle structured data.

  • What role does artificial intelligence (AI) play in modern technology?

    -AI allows machines to mimic human intelligence and make decisions based on patterns in data. It powers a wide range of technologies, from anti-lock braking systems to email spam filters, and translation services.

  • How do neural networks help machines recognize images or objects?

    -Neural networks learn to recognize images by processing input through multiple layers, starting with simple patterns like edges and colors, and gradually building towards identifying objects such as cats or dogs.

  • What are some common methods used in AI and machine learning today?

    -Common methods include pattern recognition, artificial neural networks, reinforcement learning, statistical inference, supervised learning, and unsupervised learning. Each method serves different purposes and can be combined for better results.

  • Why has machine learning made significant progress in recent years?

    -Machine learning has advanced due to improvements in technology, including faster computers, larger datasets, and better algorithms, allowing for more complex models and solutions at scale.

  • What are some tools Google Cloud provides for building machine learning models?

    -Google Cloud offers tools like BigQuery ML for SQL-based models, AutoML for no-code solutions, custom training for coding flexibility, and pre-built APIs for using pre-trained machine learning models.

  • Why don’t machine learning models use logical rules like traditional programming?

    -Machine learning models rely on patterns and data to learn and make decisions. They use functions, not logical rules, to differentiate between categories in data, such as images, making them adaptable to different problems.

Outlines

00:00

🌐 Understanding the Messy World Through Machine Learning

This paragraph introduces the challenges computers face in understanding the complex and nuanced world around us, which humans can easily interpret. It discusses how machine learning is being used to improve various technologies such as Google Maps, search recommendations, video suggestions, and translations. The video 'Making Sense of a Messy World' is referenced, where Google engineers and researchers explain the evolution of computing from logic-based to machine learning-based approaches. The narrative emphasizes the shift from hard logical rules to learning systems that can adapt and improve over time, touching on various subfields like pattern recognition, artificial neural networks, reinforcement learning, and probabilistic machine learning. The importance of computational power and large data sets for advancing AI is highlighted, along with the idea that intelligence in machines is not a singular achievement but a collection of capabilities working together.

05:02

🤖 The Evolution of Machine Learning and Deep Learning

This section delves into the definitions and differences between artificial intelligence (AI), machine learning, and deep learning. AI is presented as an overarching term for technologies that mimic human intelligence, while machine learning is described as a subset that uses data examples to enable computers to learn without explicit programming. Deep learning is introduced as a subset of machine learning that adds layers for more profound learning, especially useful for unstructured data like images and speech. The paragraph explains how machine learning models are trained using examples, with inputs and corresponding labels, and how the quality of the training data directly impacts the model's performance. It also touches on the standardization of machine learning algorithms, which can be applied to various use cases after being trained on specific data sets. The excitement around machine learning is attributed to the lowered barriers to entry due to increased data availability, algorithm sophistication, and computing power.

10:04

🎨 Interactive Learning with Neural Networks

The final paragraph focuses on practical applications of machine learning, specifically mentioning Google Cloud's machine learning options. It outlines four approaches: BigQuery ML for SQL-based machine learning, AutoML for no-code model creation, custom training for tailored machine learning environments, and pre-built APIs for utilizing existing models. The paragraph invites viewers to participate in a doodling game at quickdraw.withgoogle.com, which contributes to a doodling data set for machine learning research. It also introduces deep neural networks (DNNs) and how they mimic the human brain's perception process, learning from basic visual elements to complex decisions. The TensorFlow Neural Network Playground is mentioned as a resource for understanding how these models work, highlighting the progress in machine learning that allows for scalable model building, exemplified by Google Photos.

Mindmap

Keywords

💡Artificial Intelligence (AI)

Artificial Intelligence (AI) is an umbrella term that encompasses various technologies and algorithms designed to mimic human intelligence in machines. In the video, AI is discussed as a field that has evolved from simple logic-based systems to complex ones that can learn from their environment. It is used to describe systems that can perform tasks such as recognizing images, translating languages, and recommending content.

💡Machine Learning

Machine Learning is a subset of AI that focuses on developing algorithms that enable computers to learn from data. In the script, it is highlighted as a tool set that allows computers to solve problems at scale without being explicitly programmed to perform the task. Machine learning is portrayed as a key technology that helps computers understand and react to the messy, unstructured nature of the real world.

💡Deep Learning

Deep Learning is a subset of machine learning that involves artificial neural networks with several layers, allowing the model to learn from data at a deeper level. The video script mentions deep learning in the context of handling unstructured data like images, speech, and text. It is a technique that enables computers to classify and understand complex patterns within data.

💡Pattern Recognition

Pattern Recognition is a subfield of machine learning that focuses on identifying regularities and patterns within data. In the video, pattern recognition is alluded to as a method for teaching machines to recognize and categorize different types of objects or data points, such as distinguishing between a rain cloud and other types of clouds.

💡Neural Networks

Neural Networks are computing systems inspired by the biological neural networks that constitute animal brains. The script refers to artificial neural networks as a method for reinforcement learning, where the network learns to make decisions based on patterns it recognizes in input data, akin to how the human brain processes stimuli.

💡Data

Data is the raw material that machine learning models use to learn. The script emphasizes that the quality of a machine learning model is directly related to the quality and quantity of data it is trained on. Data provides the examples needed for models to make accurate predictions and classifications.

💡Training

Training in the context of machine learning refers to the process of teaching a model to make predictions or decisions based on a dataset. The script describes how models are trained with examples, each consisting of an input and a corresponding label, which is the correct answer for that input.

💡Algorithms

Algorithms are the step-by-step procedures that machine learning models follow to perform tasks. The video script mentions that machine learning algorithms are standardized and can be applied to different use cases after training. Algorithms are the foundation of machine learning, dictating how data is processed and analyzed.

💡BigQuery ML

BigQuery ML is a tool mentioned in the script that allows users to create and execute machine learning models using SQL queries within BigQuery. It is an example of how machine learning can be integrated into existing data platforms to enable scalable and accessible AI applications.

💡AutoML

AutoML, as discussed in the script, is a no-code solution that allows users to build machine learning models through a point-and-click interface. It democratizes machine learning by enabling users without extensive coding knowledge to create and train custom models.

💡Custom Training

Custom Training refers to the process of developing a machine learning model from scratch, which includes coding the training environment and deploying the model. The script positions custom training as an option for those who require flexibility and control over the machine learning pipeline.

💡Pre-built APIs

Pre-built APIs are application programming interfaces that provide access to pre-trained machine learning models. The video script suggests using pre-built APIs as a way for users to leverage AI capabilities without the need to build and train their own models, which can be beneficial for those lacking the necessary data or expertise.

Highlights

The world is often messy and complicated for computers.

Machine learning is improving computers' ability to understand the world.

Machine learning enhances applications like Maps, search, video recommendations, and translations.

Early computing relied on logic, but real-world challenges require learning systems.

Artificial intelligence aims to build machines that learn from their environment.

There is no single 'right path' in artificial intelligence; various approaches are being explored.

The progress in AI depends on advancements in technology and data availability.

Artificial intelligence is now integrated into everyday applications, often without us realizing.

Intelligence in machines requires training with examples.

Machine learning models learn from a dataset of inputs and their corresponding labels.

The quality of machine learning models is directly tied to the quality of the training data.

Machine learning algorithms can be applied to various use cases once trained.

Deep learning is a subset of machine learning that works with unstructured data.

Image classification is a common application of deep learning.

Machines become intelligent through training and do not start out intelligent.

Google Cloud offers various options for building machine learning models.

BigQuery ML allows for creating and executing machine learning models using SQL queries.

AutoML provides a no-code solution for building machine learning models.

Custom training offers flexibility and control over the machine learning pipeline.

Pre-built APIs allow the use of machine learning models already trained by Google.

The barriers to entry for machine learning have fallen due to increased data, mature algorithms, and computing power.

Deep neural networks mimic the human brain's perception of stimuli.

The TensorFlow Neural Network Playground is an interactive tool for understanding machine learning models.

Transcripts

play00:00

the world is filled with things that

play00:01

most of us can understand and react to

play00:03

without much thought for example a stop

play00:07

sign partially covered by snow is still

play00:09

a stop sign and a chair that's five

play00:11

times bigger than usual is still a place

play00:13

to sit

play00:14

but for computers which don't have the

play00:16

benefit of growing up and learning the

play00:18

nuances of these objects the world is

play00:20

often messy and complicated

play00:22

in this first section you'll start by

play00:24

watching a video called making sense of

play00:26

a messy world where Google engineers and

play00:29

researchers discuss how machine learning

play00:31

is improving computers and many of the

play00:33

things we use them for such as Maps

play00:34

search recommending videos and

play00:37

translations

play00:38

let's watch this short video now

play00:43

yeah thank you

play00:46

[Music]

play00:54

there have been a number of shifts in

play00:57

the way we think about computing

play00:59

over the past few decades the

play01:01

terminology artificial intelligence has

play01:03

come in and out of favor in the

play01:05

scientific Community sometimes it's

play01:06

called machine learning we tend to call

play01:08

it machine intelligence these days I

play01:10

just call it intelligence and sometimes

play01:12

it's just the effort to build machines

play01:14

that are better

play01:15

so in the early days everything was

play01:17

built on logic

play01:20

doing mathematical integration problems

play01:24

playing chess

play01:26

but we realized that what the real

play01:28

challenges were were the things that

play01:30

people can do every day the real world

play01:32

is actually very messy

play01:35

hard logical rules are not the way to

play01:38

solve really interesting real world

play01:40

problems you have to have a system

play01:42

that'll learn to get the knowledge in

play01:43

you can't just program it all in

play01:45

artificial intelligence is an effort to

play01:47

build machines that can learn from their

play01:48

environment from mistakes and from

play01:50

people we're still at the stage where we

play01:53

don't know what is the right path and

play01:55

the right breakthrough so I mean there's

play01:57

certainly a whole raft of different

play01:59

approaches one of the subfields we call

play02:01

pattern recognition artificial neural

play02:04

network reinforcement learning for

play02:06

example statistical inference and

play02:08

probabilistic machine learning

play02:09

supervised learning unsupervised

play02:11

learning and we're not quite sure what

play02:14

technique is going to lead to better

play02:16

systems and in fact it's probably not

play02:18

one technique for everything it's

play02:20

probably a bunch of different techniques

play02:21

and combinations of those techniques any

play02:23

progress we make in building truly

play02:25

intelligent systems is going to depend

play02:28

on progress in technology generally and

play02:30

until recently we didn't have computers

play02:32

that were fast enough or data sets that

play02:34

were big enough to to do that and so

play02:36

being able to take a particular problem

play02:38

and spread it out over lots and lots of

play02:40

machines is a very important approach

play02:42

because it makes our research faster

play02:45

so there's applications of artificial

play02:47

intelligence around us all the time when

play02:50

it begins to work or it does work it's

play02:52

all of a sudden given another name we're

play02:54

all already using it and very

play02:56

comfortable with it things that now we

play02:58

regard as routine

play03:01

um 30 years ago would have been regarded

play03:02

as amazing examples of artificial

play03:04

intelligence anti-lock braking autopilot

play03:07

systems for planes search

play03:09

recommendations Maps

play03:12

to decide whether or not this particular

play03:14

email is Spam or not spam

play03:16

the ability to translate one language to

play03:19

another with your phone

play03:21

ten years ago if you tried to talk to

play03:23

your computer or to your phone you know

play03:25

that would just be hopeless we we're

play03:27

seeing a steady torrent of these tricks

play03:31

one after the other getting figured out

play03:33

right now and I think a lot of people

play03:34

that are close to the field have this do

play03:37

have that kind of breathless sense that

play03:39

things are moving quickly it's a

play03:41

progressive thing it's about building

play03:42

things that are slightly better slightly

play03:44

better slightly better intelligence is

play03:46

really not going to be something that we

play03:48

ever succeed in defining in a succinct

play03:51

and singular way it's really this whole

play03:53

constellation of capabilities that you

play03:57

know all kind of are beautifully

play03:59

orchestrated and working together

play04:00

predicting the long-term future is very

play04:04

difficult

play04:06

nobody can really do it

play04:09

and the bad thing to do is take

play04:12

whatever's working best now

play04:14

and assume the future is going to be

play04:15

like that forever

play04:17

[Music]

play04:27

in that video you heard a few different

play04:29

definitions of artificial intelligence

play04:31

and machine learning let's explore the

play04:33

differences together

play04:34

artificial intelligence or AI is an

play04:38

umbrella term that includes anything

play04:39

related to computers mimicking human

play04:41

intelligence

play04:42

for example in an online word processor

play04:45

robots perform human actions for

play04:47

spelling and grammar checks

play04:49

machine learning is a tool set like

play04:52

Newton's Laws of mechanics

play04:54

just as you can use Newton's laws to

play04:56

learn how long it will take a ball to

play04:57

fall to the ground if you drop it off a

play04:59

cliff you can use machine learning to

play05:01

solve certain kinds of problems at scale

play05:03

by using data examples but without the

play05:06

need for custom code

play05:07

you might have also heard the term deep

play05:09

learning or deep neural networks

play05:12

deep learning is a subset of machine

play05:14

learning that adds layers in between

play05:16

input data and output results to make a

play05:19

machine learn at more depth it's a type

play05:21

of machine learning that works even when

play05:23

the data is unstructured like images

play05:25

speech video natural language text and

play05:28

so on

play05:30

image classification is a type of deep

play05:32

learning a machine can learn how to

play05:34

classify images into categories when

play05:36

it's shown lots of examples

play05:38

the basic difference between machine

play05:40

learning and other techniques in AI is

play05:42

that in machine learning machines learn

play05:45

they don't start out intelligent they

play05:47

become intelligent

play05:49

so how do machines become intelligent

play05:52

intelligence requires training

play05:54

to train a machine learning model

play05:56

examples are required

play05:59

for example to train a model to estimate

play06:01

how much you'll owe in taxes you must

play06:04

show the model many many examples of tax

play06:06

returns

play06:08

or if you want to train a model to

play06:09

estimate trip time between one location

play06:11

and another you'll need to show it many

play06:13

examples of previous Journeys

play06:16

the first stage of ml is to train an ml

play06:19

model with examples

play06:20

an example consists of an input and the

play06:23

correct answer for that input

play06:24

this is called the label

play06:27

in the case of structured data that's

play06:29

rows and columns an input can simply be

play06:32

a single row of data

play06:34

in unstructured data like images an

play06:37

input could be a single image of a cloud

play06:38

that you want to classify as a rain

play06:40

cloud or not

play06:42

imagine you work for a manufacturing

play06:43

company and you want to train a machine

play06:45

learning model to detect defects in the

play06:48

parts before they are assembled into

play06:49

products

play06:50

you'd start by creating a data set of

play06:52

images of parts

play06:54

some of those images would be good and

play06:56

some parts would be defective

play06:58

for each image you'll assign a

play07:00

corresponding label and use that set of

play07:02

examples to train the model

play07:04

an important detail to emphasize is that

play07:07

a machine learning model is only as good

play07:09

as the data used to train it

play07:11

and a good model requires a lot of

play07:13

training data of historical examples of

play07:15

rejected parts and parts in good

play07:17

condition

play07:18

with these elements you can train a

play07:21

model to categorize Parts as defective

play07:22

or not

play07:24

the basic reason why ml models need high

play07:26

quality data is because they don't have

play07:28

human general knowledge data is the only

play07:30

thing they have access to

play07:32

after the model has been trained it can

play07:34

be used to make predictions on data it's

play07:36

never seen before

play07:38

in this example the input for the

play07:40

trained model is an image of a part

play07:42

because the model has been trained on

play07:43

specific examples of good and effective

play07:45

Parts it can correctly predict that this

play07:47

part is in good condition

play07:50

algorithms or ml models are standard

play07:53

that means that they exist independently

play07:55

of the use case

play07:56

although detecting manufacturing defects

play07:58

in images and detecting disease leaves

play08:00

and images are two different use cases

play08:02

the same algorithm which is an image

play08:04

classification network works for both

play08:07

similarly standard algorithms predict

play08:10

the future value of a Time series or to

play08:12

transcribe human speech to text

play08:14

resnet for example is a standard

play08:16

algorithm for image classification

play08:18

it's not essential to understand how an

play08:20

image classification algorithm Works

play08:22

only that it's the algorithm we should

play08:24

use if we want to classify images of

play08:26

automotive parts

play08:28

when we use the same algorithm on

play08:30

different data sets different features

play08:32

or inputs are relevant to the different

play08:33

use cases and we can see them

play08:35

represented visually here

play08:38

you might be wondering isn't the logic

play08:40

different

play08:40

you can't possibly use the same rules to

play08:42

identify defects in manufacturing that

play08:45

you use to identify leaves

play08:47

the logic is different but machine

play08:49

learning doesn't use logical rules

play08:51

the image classification network isn't a

play08:53

set of basic if this then that rules but

play08:56

rather a function that learns how to

play08:58

differentiate between categories of

play09:00

images

play09:01

so although you start with the same

play09:03

standard algorithm after training the

play09:05

trained model that classifies leaves is

play09:07

different from the train model that

play09:09

classifies parts

play09:11

and you can actually reuse the same code

play09:13

for other use cases that are focused on

play09:14

the same kind of task

play09:16

in our example you identified

play09:18

manufacturing defects but the higher

play09:20

level task classified images

play09:23

this means you can reuse the same code

play09:25

for another image classification problem

play09:26

like finding examples of products in

play09:28

photos posted on social media

play09:31

however you still have to train it

play09:33

separately for each use case

play09:35

much of the excitement around ml is

play09:37

because the barriers to entry have

play09:38

fallen you don't need to be an

play09:40

astrophysicist to do machine learning

play09:43

this is because of the convergence of

play09:44

several factors

play09:46

the increasing availability of data

play09:48

the increasing maturity and

play09:50

sophistication of ml algorithms

play09:52

and the increasing power and

play09:54

availability of computing hardware and

play09:56

software

play09:57

Google Cloud offers four options for

play09:59

building machine learning models

play10:01

the first option is bigquery ml you'll

play10:03

remember from the previous module of

play10:05

this course that bigquery ml is a tool

play10:07

for using SQL queries to create and

play10:09

execute machine learning models in

play10:11

bigquery if you already have your data

play10:13

in bigquery and your problems fit the

play10:15

predefined ml models this could be your

play10:17

best choice

play10:18

the second option is automl which is a

play10:20

no code solution so you can build your

play10:22

own machine learning models on vertex AI

play10:24

through a point-and-click interface

play10:27

the third option is custom Training

play10:29

through which you can code your own

play10:31

machine learning environment the

play10:32

training and the deployment which

play10:34

provides you with flexibility and

play10:36

control over the ml pipeline

play10:38

and finally there are pre-built apis

play10:40

which are application programming

play10:42

interfaces

play10:43

this option lets you use machine

play10:44

learning models that have already been

play10:46

built and trained by Google so you don't

play10:48

have to build your own machine learning

play10:49

models if you don't have enough training

play10:51

data or sufficient machine learning

play10:53

expertise in-house

play10:55

let's play a quick game where we'll see

play10:57

how a neural network can learn how to

play10:59

recognize doodling

play11:00

during the process we'll help to teach

play11:02

it by adding our drawings to the world's

play11:04

largest doodling data set and help with

play11:06

machine learning research

play11:08

pause the video now and in a different

play11:10

browser tab or window head to

play11:12

quickdraw.withgoogle.com when you're

play11:15

done head back here to continue the

play11:17

video

play11:19

here's the model behind the game we just

play11:21

played it's called a deep neural network

play11:23

or DNN

play11:25

the layers are meant to mimic our own

play11:27

human brains in the way we perceive

play11:29

stimuli

play11:30

with each layer the model learns more

play11:32

about the image of this dog that's

play11:33

hiding in a laundry basket starting from

play11:35

basic edges and colors to a final

play11:37

decision of cat or dog you'll build your

play11:40

own image recognition model later in the

play11:42

course spoiler alert you don't need to

play11:44

write any code but if you want

play11:46

additional information about how these

play11:48

model types work see the tensorflow

play11:50

neural network playground

play11:52

the tensorflow neural network playground

play11:54

at

play11:55

playground.tensflow.org is a great

play11:56

Interactive Learning tool for

play11:58

understanding how computers think and

play12:00

shows how far ml has come that we can

play12:02

build these models at scale like in

play12:04

Google photos

Rate This

5.0 / 5 (0 votes)

الوسوم ذات الصلة
Artificial IntelligenceMachine LearningDeep LearningGoogle EngineersPattern RecognitionNeural NetworksPredictive ModelsData ScienceTech InnovationAI Applications
هل تحتاج إلى تلخيص باللغة الإنجليزية؟