知识卡片

普通读书笔记卡 · 3710.b.2.b.1.c.2

劳埃德成本随迭代次数线性增长

理解等级:中级

若执行T轮,每轮把n个d维样本分到k个最近中心需O(dkn),重算质心需O(dn),总计O(Tdkn)。

这个界显式依赖实际迭代次数,不能单凭单轮线性工作就宣称全程线性。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第33章 机器学习算法 · 查看原书依据

      The running time of Lloyd’s procedure is proportional to the number T of iterations. In one iteration, assigning points to clusters based on the nearest-center rule requires O(dkn) time, and recomputing new centers for each cluster requires O(dn) time (because each point is in one cluster). The overall running time of the k-means

    参考来源

    - 位置:《算法导论(第4版)》第33章《机器学习算法》(OEBPS/chapter033.xhtml,文本字符[15000,20000))。 - 结论依据:原文第33.1–33.2节质心和分配定理、劳埃德过程、假设优化框架、色彩量化示例或专家预测引理。 - 原始内容:The running time of Lloyd’s procedure is proportional to the number T of iterations. In one iteration, assigning points to clusters based on the nearest-center rule requires O ( dkn ) time, and recomputing new centers for each cluster requires O ( dn ) time (because each point is in one cluster). The overall running time of the k -means