Homework_Week9_Coursera【Machine Learning】AndrewNg、Anomaly Detection
- 第一题 For which of the following problems would anomaly detection be a suitable algorithm?
- 第二题Suppose you have trained an anomaly detection system that flags anomalies when p(x)... What should you do?
- 第三题 Suppose you are developing an anomaly detection system to catch manufacturing defects in airplane engines. You model uses...
- 第四题 Which of the following are true? Check all that apply
- 第五题You have a 1-D dataset...
第一题 For which of the following problems would anomaly detection be a suitable algorithm?
解析
下列选项哪一个是合适的异常检测算法
A 从很大的病人记录中,识别出哪些病人的健康状况不对 、正确
B在芯片制造、识别哪些是有缺点的芯片。毫无疑问、正确
C从很大的医院病人记录中、预测哪些病人患了哪些具体的疾病、比如流感 、这个选择有点陷阱。
D从给出的信用卡交易数据中、分别哪些类型的消费、这很明显是聚类或分类问题,所以不选择
答案
AB
第二题Suppose you have trained an anomaly detection system that flags anomalies when p(x)… What should you do?
解析
假设你在训练异常检测系统、你发现交叉验证集有许多的FN样本、就是预测是异常,结果还预测错了的。其实就是正样本预测成负的了、所以阈值太小、增大即可
答案
A
第三题 Suppose you are developing an anomaly detection system to catch manufacturing defects in airplane engines. You model uses…
解析
一大一小,比一下很容易放大相差倍数
答案
D
第四题 Which of the following are true? Check all that apply
解析
A假设你数据集有很大量的正样本和负样本、异常检测算法将会很可能和监督学习比如支持向量机表现得一样好、不对、异常检测模型适用于正负样本分布不均衡的情况效果会比较好A不选
B如果你没有足够量的标签数据、可能会比较难去评估系统并选择一个好的sigma数值、正确
C如果你研发了一个异常检测系统、是没有办法通过标签数据来提升你的算法的。这个异常检测也需要标签的、所以不选
D当为异常检测系统选择特征的时候是一个好主意去寻找那些在大或者小数值的异常样本中特征。正确
答案
BD
第五题You have a 1-D dataset…
解析
肉眼观察
答案
A