AIToday
Qiita 機械学習Published: Nov 21, 2026, 10:01 JST

AWS AIプラクティショナー試験対策③: K-means vs Linear Learner cheat sheet

Send on LINE
AWS AIプラクティショナー試験対策③: K-means vs Linear Learner cheat sheet

3 Key Points

  1. What happened

    The guide's cheat sheet routes keywords like 'no labels' or 'grouping' to unsupervised K-means, and 'prediction' or 'labeled data' to supervised Linear Learner or XGBoost.

  2. Why it matters

    Candidates can answer algorithm-choice questions by matching problem-statement keywords to the learning type rather than memorizing every algorithm's internals, the guide suggests.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

The guide is the third installment in a series on the AWS AI Practitioner certification, following earlier pieces on the exam's overall shape and on AI use cases and task classification. This installment narrows in on Domain 1, Task 1.1, 'AI fundamentals and terminology,' which the author identifies as the area most likely to be tested.

The core organizing idea is whether data carries labels. Supervised learning predicts answers from labeled data and splits into classification (categories) and regression (numbers). Unsupervised learning finds structure in unlabeled data, with clustering as the central example. The guide also notes semi-supervised learning as a supplemental concept not listed in the exam guide, and reinforcement learning as learning from rewards through trial and error.

The cheat sheet and decision flow translate those definitions into exam tactics: keywords like 'no labels,' 'grouping,' or 'similarity' point to unsupervised K-means, while 'prediction,' 'labeled data,' or 'past results' point to supervised Linear Learner or XGBoost. The guide pairs this with a table mapping SageMaker algorithms to their learning types and supported tasks, and with a section distinguishing commonly confused pairs such as classification versus regression, clustering versus classification, and K-means versus KNN. A short set of practice questions applies the flow to customer segmentation, sales forecasting, and fraud detection.

FAQ
What is the main difference between K-means and KNN?
K-means is unsupervised and needs no labels, while KNN is supervised and uses the labels of the nearest k data points. In K-means, k is the number of clusters; in KNN, k is the number of nearby data points referenced.
When should I use classification versus regression?
If the answer is a category, such as spam or not spam, it is classification; if the answer is a number, such as a price or sales amount, it is regression. Both are supervised learning, and Linear Learner and XGBoost support both.
What is semi-supervised learning?
It combines a small amount of labeled data with a large amount of unlabeled data. The guide notes it is not in the exam guide's list but is useful for avoiding confusion.
Qiita 機械学習Read Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleFTAI Aviation to deliver over 100 jet-engine turbines by 2028