Unsupervised Learning

5 试题

1.

For which of the following tasks might K-means clustering be a suitable algorithm? Select all that apply.

Given historical weather records, predict if tomorrow's weather will be sunny or rainy.

Given many emails, you want to determine if they are Spam or Non-Spam emails.

Given a set of news articles from many different news websites, find out what are the main topics covered.

From the user usage patterns on a website, figure out what different groups of users exist.

2.

Suppose we have three cluster centroids μ1=[12], μ2=[−30] and μ3=[42]. Furthermore, we have a training example x(i)=[−12]. After a cluster assignment step, what will c(i) be?

c(i)=3

c(i)=1

c(i)=2

c(i) is not assigned

3.

K-means is an iterative algorithm, and two of the following steps are repeatedly carried out in its inner-loop. Which two?

The cluster assignment step, where the parameters c(i) are updated.

Move the cluster centroids, where the centroids μk are updated.

Move each cluster centroid μk, by setting it to be equal to the closest training example x(i)

The cluster centroid assignment step, where each cluster centroid μi is assigned (by setting c(i)) to the closest training example x(i).

4.

Suppose you have an unlabeled dataset {x(1),…,x(m)}. You run K-means with 50 different random

initializations, and obtain 50 different clusterings of the

data. What is the recommended way for choosing which one of

these 50 clusterings to use?

Plot the data and the cluster centroids, and pick the clustering that gives the most "coherent" cluster centroids.

Use the elbow method.

Manually examine the clusterings, and pick the best one.

Compute the distortion function J(c(1),…,c(m),μ1,…,μk), and pick the one that minimizes this.

5.

Which of the following statements are true? Select all that apply.

Once an example has been assigned to a particular centroid, it will never be reassigned to another different centroid

K-Means will always give the same results regardless of the initialization of the centroids.

A good way to initialize K-means is to select K (distinct) examples from the training set and set the cluster centroids equal to these selected examples.

On every iteration of K-means, the cost function J(c(1),…,c(m),μ1,…,μk) (the distortion function) should either stay the same or decrease; in particular, it should not increase.

Machine Learning week 7 quiz: Unsupervised Learning相关推荐

  1. 台大李宏毅Machine Learning 2017Fall学习笔记 (16)Unsupervised Learning:Neighbor Embedding

    台大李宏毅Machine Learning 2017Fall学习笔记 (16)Unsupervised Learning:Neighbor Embedding

  2. 台大李宏毅Machine Learning 2017Fall学习笔记 (14)Unsupervised Learning:Linear Dimension Reduction

    台大李宏毅Machine Learning 2017Fall学习笔记 (14)Unsupervised Learning:Linear Dimension Reduction 本博客整理自: http ...

  3. Machine Learning Algorithms Study Notes(4)—无监督学习(unsupervised learning)

    1    Unsupervised Learning 1.1    k-means clustering algorithm 1.1.1    算法思想 1.1.2    k-means的不足之处 1 ...

  4. 【李宏毅2020 ML/DL】P59 Unsupervised Learning - Auto-encoder

    我已经有两年 ML 经历,这系列课主要用来查缺补漏,会记录一些细节的.自己不知道的东西. 已经有人记了笔记(很用心,强烈推荐):https://github.com/Sakura-gh/ML-note ...

  5. Deep Unsupervised Learning using Nonequilibrium Thermodynamics论文翻译学习

    Deep Unsupervised Learning using Nonequilibrium Thermodynamics Author: Jascha Sohl-Dickstein Link: h ...

  6. facebook新无监督论文-Unsupervised Learning of Visual Features by Contrasting Cluster Assignments

    最近比较关注无监督论文,因此只要发现有新的文章都会读一遍,facebook近期刚出了一篇Unsupervised Learning of Visual Features by Contrasting ...

  7. ML之UL:无监督学习Unsupervised Learning的概念、应用、经典案例之详细攻略

    ML之UL:无监督学习Unsupervised Learning的概念.应用.经典案例之详细攻略 目录 无监督学习Unsupervised Learning的概念 无监督学习Unsupervised ...

  8. 文献学习(part13)--A Sober Look at the Unsupervised Learning of Disentangled...

    学习笔记,仅供参考,有错必纠 文章目录 A Sober Look at the Unsupervised Learning of Disentangled Representations and th ...

  9. 机器学习(Machine Learning)、深度学习(Deep Learning)、NLP面试中常考到的知识点和代码实现

    网址:https://github.com/NLP-LOVE/ML-NLP 此项目是机器学习(Machine Learning).深度学习(Deep Learning).NLP面试中常考到的知识点和代 ...

最新文章

  1. 安川g7接线端子图_西门子SIWAREX称重模块安装接线注意事项!
  2. python基础语法总结-Python基础语法精心总结!看完都知道的可以往下继续学习了...
  3. 利用http协议发布博文评论
  4. 英语语法---形容词短语详解
  5. Redis配置文件常用配置详解
  6. ansys命令流_ANSYS命令流建模3之划分单元+施加弹簧
  7. 游戏笔记本计算机购买,2021大学生买电脑,容易犯的七种错误!游戏本和轻薄本买哪个?...
  8. SQLSERVER2008R2正确使用索引
  9. Hbuilder启动夜神游模拟器失败,解决方案
  10. Android BlueDroid(一):BlueDroid概述
  11. hive如何获取当前时间
  12. Gym 100962J Jimi Hendrix (DFS + 树形dp)
  13. java用etiplus如何打jar,README.md · Ranossy/majsoul_mod_plus - Gitee.com
  14. kettle8.3-win安装操作指南
  15. 一个字节8位,无符号类型,最大值为什么是2的8次方-1,范围0-255
  16. 禅道api调用(爬虫方式)
  17. 接入Apple Pay流程
  18. wr720n刷成网络打印_方便实用!教你如何简单把 usb打印机改成无线打印机!
  19. 判断三条边是否构成三角形
  20. java导出excel限制大小_解决java poi导出excel2003不能超过65536行的问题

热门文章

  1. OpenStack架构企业IT应用的敏捷实践
  2. Spring Cloud Alibaba - 11 Ribbon 自定义负载均衡策略(同集群优先权重负载均衡算法)
  3. JVM-07垃圾收集Garbage Collection【GC日志分析】
  4. Spring-ApplicationContext解读
  5. Java学习笔记(六)--字符串String类
  6. 05APR2022 日期格式这样的怎么转换成日期?
  7. 简谈Redis的线程模型
  8. debian安装python3_debian上安装python3.6
  9. Halcon算子盘点:Chapter 16:System
  10. php json 转 xml格式,PHP中如何将JSON文件转XML格式