题目
Artificial Intelligence Lecture 4 quiz
简答题
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
查看解析
标准答案
Please login to view
思路分析
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 explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
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?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!