Google Cloud Generative AI Leader free question 9 / 10 · Domain 1: Fundamentals of gen AI
An insurer has records of past policyholders in which the outcome ("canceled" or "renewed") is known. It wants to use them to build a model that predicts whether a new policyholder is likely to cancel. According to Google Cloud, which machine learning approach does this describe?
- Unsupervised learning, in which no one supplies answers and the structure is found from differences and similarities in the data
- Reinforcement learning, in which an agent acts in an environment and refines its behavior from rewards and penalties
- Semi-supervised learning, in which only part of the data has an outcome and the rest is used without one
- Supervised learning, which learns rules for prediction from pairs of inputs and the correct outputs that go with them
Show the answer and explanation
Answer: D
Why this is correct
The page describes supervised learning as machine learning on data that contains inputs and the correct outputs. The algorithm analyzes many such pairs and learns to infer the output for new data. The insurer has records of policyholders paired with their outcomes (canceled or renewed), so predicting cancellation is supervised learning.
Why the other options are wrong
"Unsupervised learning, in which no one supplies answers and the structure is found from differences and similarities in the data" … Unsupervised learning finds structure in raw data whose outcomes are unknown. Here the outcomes are known and can serve as the correct answers.
"Reinforcement learning, in which an agent acts in an environment and refines its behavior from rewards and penalties" … Reinforcement learning refines behavior from rewards and penalties earned by acting. It does not learn from pairs of past inputs and outcomes.
"Semi-supervised learning, in which only part of the data has an outcome and the rest is used without one" … Semi-supervised learning is the mixed approach for when only some data has an outcome. Here the outcome is known for every record.
Key points
The deciding question is whether data with known outcomes exists. Without outcomes, searching for structure is unsupervised learning; learning from rewards for actions is reinforcement learning.