Google Cloud Generative AI Leader — Question 22
A company wants to build a model to classify customer reviews as positive, negative, or neutral. They have collected a dataset of thousands of customer reviews, and each review has been manually tagged with the corresponding sentiment: positive, negative, or neutral. What machine learning should the company use?
Answer options
- A. Reinforcement learning
- B. Deep learning
- C. Unsupervised learning
- D. Supervised learning
Correct answer: D
Explanation
The correct choice is D, Supervised learning, because the reviews are already tagged with sentiments, allowing the model to learn from this labeled data. Options A (Reinforcement learning) and C (Unsupervised learning) are not suitable here since they do not utilize labeled data. Option B (Deep learning) could be used for classification but it falls under the broader category of supervised learning in this context.