Advice for Applying Machine Learning

5 试题

1.

You train a learning algorithm, and find that it has unacceptably high error on the test set. You plot the learning curve, and obtain the figure below. Is the algorithm suffering from high bias, high variance, or neither?

Neither

High variance

High bias

2.

Suppose you have implemented regularized logistic regression

to classify what object is in an image (i.e., to do object

recognition). However, when you test your hypothesis on a new

set of images, you find that it makes unacceptably large

errors with its predictions on the new images. However, your

hypothesis performs well (has low error) on the

training set. Which of the following are promising steps to

take? Check all that apply.

Try adding polynomial features.

Use fewer training examples.

Get more training examples.

Try using a smaller set of features.

3.

Suppose you have implemented regularized logistic regression

to predict what items customers will purchase on a web

shopping site. However, when you test your hypothesis on a new

set of customers, you find that it makes unacceptably large

errors in its predictions. Furthermore, the hypothesis

performs poorly on the training set. Which of the

following might be promising steps to take? Check all that

apply.

Try evaluating the hypothesis on a cross validation set rather than the test set.

Use fewer training examples.

Try decreasing the regularization parameter λ.

Try adding polynomial features.

4.

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

Suppose you are training a regularized linear regression model. The recommended way to choose what value of regularization parameter λ to use is to choose the value of λwhich gives the lowest cross validation error.

Suppose you are training a regularized linear regression model.The recommended way to choose what value of regularization parameter λ to use is to choose the value of λwhich gives the lowest training set error.

Suppose you are training a regularized linear regression model. The recommended way to choose what value of regularization parameter λ to use is to choose the value of λwhich gives the lowest test set error.

The performance of a learning algorithm on the training set will typically be better than its performance on the test set.

5.

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

A model with more parameters is more prone to overfitting and typically has higher variance.

If a neural network has much lower training error than test error, then adding more layers will help bring the test error down because we can fit the test set better.

If a learning algorithm is suffering from high bias, only adding more training examples may not improve the test error significantly.

When debugging learning algorithms, it is useful to plot a learning curve to understand if there is a high bias or high variance problem.

Machine Learning week 6 quiz: Advice for Applying Machine Learning相关推荐

  1. 斯坦福大学机器学习第十课“应用机器学习的建议(Advice for applying machine learning)”

    斯坦福大学机器学习第十课"应用机器学习的建议(Advice for applying machine learning)" 斯坦福大学机器学习斯坦福大学机器学习第十课"应 ...

  2. Week 6 测验:Advice for Applying Machine Learning【Maching Learning】

    1 You train a learning algorithm, and find that it has unacceptably high error on the test set. You ...

  3. 斯坦福机器学习视频笔记 Week6 关于机器学习的建议 Advice for Applying Machine Learning...

    我们将学习如何系统地提升机器学习算法,告诉你学习算法何时做得不好,并描述如何'调试'你的学习算法和提高其性能的"最佳实践".要优化机器学习算法,需要先了解可以在哪里做最大的改进. ...

  4. Advice for applying machine learning - Diagnosing bias vs. variance

    摘要: 本文是吴恩达 (Andrew Ng)老师<机器学习>课程,第十一章<应用机器学习的建议>中第86课时<诊断偏差与方差>的视频原文字幕.为本人在视频学习过程中 ...

  5. Coursera机器学习-第六周-Advice for Applying Machine Learning

    Evaluating a Learning Algorithm Desciding What to Try Next 先来看一个有正则的线性回归例子: 当在预测时,有很大的误差,该如何处理? 1.得到 ...

  6. 斯坦福大学公开课机器学习:advice for applying machine learning | learning curves (改进学习算法:高偏差和高方差与学习曲线的关系)...

    绘制学习曲线非常有用,比如你想检查你的学习算法,运行是否正常.或者你希望改进算法的表现或效果.那么学习曲线就是一种很好的工具.学习曲线可以判断某一个学习算法,是偏差.方差问题,或是二者皆有. 为了绘制 ...

  7. Machine Learning week 10 quiz: Large Scale Machine Learning

    Large Scale Machine Learning 5 试题 1. Suppose you are training a logistic regression classifier using ...

  8. Machine Learning 务实----Applying deep learning to real-world problems

    1. Pre-tuning method 在现实世界里应用ML,得到大量精确标注的数据是昂贵的. 如果只有少量精确标注的数据,pre-tuning method可以帮助提升最后训练模型的精度[1]. ...

  9. 台大李宏毅Machine Learning 2017Fall学习笔记 (10)Tips for Deep Learning

    台大李宏毅Machine Learning 2017Fall学习笔记 (10)Tips for Deep Learning 注:本博客主要参照 http://blog.csdn.net/xzy_thu ...

最新文章

  1. 如何处理win10系统内置Linux系统闪退问题
  2. CSS 外边距(margin)重叠及防止方法
  3. leetcode 26 删除排序数组中的重复项
  4. VTK:简单操作之FloatingPointExceptions
  5. python小爬虫(爬取职位信息和博客文章信息)
  6. Using Artica Squid Open Source Project to Build Powerful and Safe but Simple to Use Proxy
  7. IEnumerable和IEnumerator详解
  8. 交通仿真软件测试自学,[2018年最新整理]各类交通仿真软件综合介绍.docx
  9. pyspider—爬取下载图片
  10. Ubuntu 配置 SFTP 服务器
  11. 摘-连载-《青青子衿》(念才)-采葛-96
  12. 安徽大学计算机专业参考书目,安徽大学计算机科学与技术(专业学位)研究生考试科目和考研参考书目...
  13. js 多选框被选中触发的事件_JS实现select选中option触发事件操作示例
  14. 《卸甲笔记》-分组统计查询对比
  15. 渗透测试笔试面试题目汇总
  16. 百度2021第二季度总营收314 亿
  17. 大数据存储的基础理解
  18. 成绩查询源码mysql_基于PHP+MYSQL的成绩查询系统(含源码)
  19. 收藏的网页!!!(随时更新)
  20. 一加3t刷机后还卡_一加OnePlus 3T官方固件刷机教程_线刷|救砖教程图解

热门文章

  1. Spring-AOP @AspectJ语法基础
  2. antd 给input设置值_Antd 中 Input 组件默认值的显示
  3. Java 防抖动函数的实现
  4. 语音识别2:CTC对齐的算法
  5. 服务器微信了早上好,微信问候语早上好 微信早上好经典问候语
  6. 服务器上文件一直被打开吗,Python: 如何判断远程服务器上Excel文件是否被人打开...
  7. java包和访问权限_Java包和访问权限—1
  8. java aes密钥生成_如何在Java(Android)中生成与.Net中相同的AES密钥?
  9. 本地仓库管理权限问题
  10. android调频收音机代码,android 收音机 FM 驱动 hal层 框架层以及应用层代码