Questions
Artificial Intelligence Lecture 4 quiz
Short answer
Previously we saw that K-means stuck at local optimal if seed = 100: Without changing the seed and K, add only one training example to save K-means out of the local optimal situation (ie achieving a low training error). Write down this additional training example below. https://stanford-cs221.github.io/autumn2019/lectures/index.html#include=learning-demo.js&example=cluster
View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
The prompt presents a short-answer task, not a multiple-choice question, so there are no answer options to evaluate. Instead, here is a structured way to reason about adding a single training example to help K-means escape a local optimum when the seed and K are fixed.
- Understand the problem setting: With a fixed seed, K-means initialization is deterministic, so the algorithm may converge to a local minimum that depends on the initial centers and the data distribution. By adding one carefully chosen point, you can nudge the centroid updates in a way that leads to a different, lower-final training error after re-running K-means.
- Conceptual goal: The added point should influence the movement of at least one cluster center so that the subsequent assignments/re-computations reduce the overall wit......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
Which of the following statements about the K-means clustering algorithm is true?
K-Means involves computing distances in input space and assigning data points to the nearest prototype points. What can one say about these prototype points? I Every cluster has its data assigned to the nearest prototype point. II They are not restricted to being data points in the training set. III They are necessarily included in the training set. IV They are usually referred to as centroids.
A retail chain wants to group its 2 million customers based on purchase behavior. Analysts consider using K-Means because they need fast runtime and easy interpretability, but the leadership team worries whether the method assumes overly simple cluster shapes. What limitation of K-Means should the team be most concerned about?
Your retail analytics team is trying to group customers into clear segments based on buying behavior, purchasing channels, and store proximity. The leadership team wants each customer assigned to exactly one group—similar to the customer profiles shown below—so that marketing and pricing strategies can be targeted without any overlap. Which clustering method best fits this requirement?
More Practical Tools for Students Powered by AI Study Helper
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!