Google Intro to ML Flashcards

1
Q

Google Intro to ML - What is ML?

What is Machine Learning?

A

Machine Learning (ML) is the process of training a piece of software, called a model, to make useful predictions or generate content from data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Google Intro to ML - What is ML?

What is a “model” in machine learning?

A

A model is a mathematical relationship derived from data that an ML system uses to make predictions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Google Intro to ML - What is ML?

What are the basic categories or types of machine learning systems?

A
  • Supervised Learning
  • Unsupervised Learning
  • Reinforcement Learning
  • Generative AI
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Google Intro to ML - What is ML?

What is “Supervised Learning”?

A

Supervised Learning is when an ML system is trained on a set of data with known good results (labels), and is then able to make valid predictions on new, similar data.

An analogy would be if a student is allowed to study all previous exams, with the correct answers for course in order to pass a new exam.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Google Intro to ML - What is ML?

What are two common use cases for supervised learning?

A

Regression and Classification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Google Intro to ML - What is ML?

What is a “regression model”?

A

A regression model predicts a numeric value.

e.g. - predicting the price of a home after being trained on a data set that includes the square footage, number of bedroom and bathrooms, lot size, etc. for other homes for sale in the same area.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Google Intro to ML - What is ML?

What is a “classification model”

A

A classification model predicts the likelihood that something belongs to a category. The “output” is the predicted category of the input item.

Example, a classification model are used to predict if an email is spam or not, or a photo is of a cat or a dog.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Google Intro to ML - What is ML?

Classification models can be divided into what two groups?

A

Binary Classification and Multiclass Classification models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Google Intro to ML - What is ML?

What is a “binary classification” model?

A

Binary classification models output a value from a class that contains only two values.

For example, a model that outputs either rain or no-rain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Google Intro to ML - What is ML?

What is a “multiclass classification” model?

A

Multiclass classification models output a value from a class that contains more than two values.

For example, a model that can output either rain, hail, snow or sleet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Google Intro to ML - What is ML?

If you wanted to use an ML model to predict energy usage for commercial buildings, what type of model would you use a classification model, or a regression model?

A

You should use a regression model because “energy consumption” is likely a numeric value such as 24KWH rather than a binary value (e.g. “very little energy consumption” or “a lot of energy consumption”), or even a multiclass value (e.g. “light consumption”, “moderate consumption”, “heavy consumption”).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Google Intro to ML - What is ML?

What is “Unsupervised Learning”?

A

Unsupervised learning is when a model is trained on data that does not contain any correct answers (a.k.a labels). An unsupervised learning model’s goal is to identify meaningful patterns among the data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Google Intro to ML - What is ML?

What is a common unsupervised learning technique?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Google Intro to ML - What is ML?

What is “clustering” in unsupervised learning?

A

Clustering is when an unsupervised learning model is used to find data points that demarcate natural groups.

For example, an unsupervised learning model might cluster a weather dataset based on temperature, revealing segmentations that define the seasons.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Google Intro to ML - What is ML?

What is the distinction between how supervised and unsupervised models are trained?

A

Supervised models are trained on data that includes the correct answers (a.k.a. labels) whereas unsupervised models are trained on data without the correct answers (a.k.a un-labeled).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Google Intro to ML - What is ML?

What is “Reinforcement Learning”?

A

Reinforcement Learning models make predictions by getting rewards or penalties when an agent performs actions within an environment.

A reinforcement learning system generates a policy that defines the best strategy for getting the most rewards.

17
Q

Google Intro to ML - What is ML?

What are some examples of reinformcement learning?

A

Reinforcement learning can be used to train robots to perform tasks, like walking around a room, or to train software programs to play games.

18
Q

Google Intro to ML - What is ML?

What is “Generative AI”?

A

Generative AI is a class of models that creates content from user input.

For example, generative AI can create novel images, music compositions, and jokes. It can summarize articles, explain how to perform a task, or edit a photo.

19
Q

Google Intro to ML - What is ML?

Generative AI models are classified by their inputs and outputs. What are some examples of Generative AI models based on their inputs and outputs?

A

Text-to-text
Text-to-image
Text-to-video
Text-to-code
Text-to-speech
Image-to-text

20
Q

Google Intro to ML - What is ML?

How do Generative AI models work?

At a high level

A

At a high-level, generative models learn patterns in data with the goal to produce new but similar data.

21
Q

Google Intro to ML - What is ML?

How are Generative AI models trained?

A

Generative models are initially trained using an unsupervised approach, where the model learns to mimic the data it’s trained on. The model is sometimes trained further using supervised or reinforcement learning on specific data related to tasks the model might be asked to perform, for example, summarize an article or edit a photo.