Machine Learning Basics
Which of the following is an example of unsupervised learning?
- ADividing customers into several groups with similar buying patterns, using only their purchase histories
- BPredicting equipment failures from sensor values, using past records of whether failures occurred as the correct answers
- CLearning how to choose moves in a game so that the reward obtained by trial and error becomes large
Show answer and explanation
Answer: A. Dividing customers into several groups with similar buying patterns, using only their purchase histories
Unsupervised learning finds groupings or structure in data that has no correct-answer labels. Typical examples are clustering, which divides similar data into groups, and dimensionality reduction, which represents data with fewer variables. Predicting with the correct answer of whether a failure occurred is supervised learning, and learning actions from rewards is reinforcement learning.
- A. Correct. This is clustering, which finds groups without using correct-answer labels, so it is unsupervised learning.
- B. It uses correct-answer labels (whether a failure occurred), so it is supervised learning (classification).
- C. It learns how to choose actions from rewards, so it is reinforcement learning.