Coursera Machine Learning 第二周 quiz Linear Regression with Multiple Variables 习题答案 标签: Andrew NgCour
来源:互联网 发布:手机淘宝商家登陆 编辑:程序博客网 时间:2024/05/18 01:41
Coursera Machine Learning 第二周 quiz Linear Regression with Multiple Variables 习题答案
版权声明:本文为博主原创文章,未经博主允许不得转载。
1.Suppose m=4 students have taken some class, and the class had a midterm exam and a final exam. You have collected a dataset of their scores on the two exams, which is as follows:
midterm exam(midterm exam)^2final exam89792196725184749488368769476178You'd like to use polynomial regression to predict a student's final exam score from their midterm exam score. Concretely, suppose you want to fit a model of the form
What is the normalized feature
2.You run gradient descent for 15 iterations
with
value of
off. Based on this, which of the following conclusions seems
most plausible?
Rather than use the current value of
Rather than use the current value of
下降太快所以a下降速率过大,a越大下降越快,a小下降慢,而本题中,代价函数快速收敛到最小值,代表此时a最合适
Suppose you have
此题注意,计算X维度时要加上X0=[1,1,1,1..,1];故答案选C
4
Suppose you have a dataset with
Gradient descent, since it will always converge to the optimal
Gradient descent, since
The normal equation, since it provides an efficient way to directly find the solution.
The normal equation, since gradient descent might be unable to find the optimal
训练集有2W,转置的话需要大量的时间,花费太多内存与资源,故选择梯度下降。选择B
Which of the following are reasons for using feature scaling?
It speeds up gradient descent by making it require fewer iterations to get to a good solution.
It speeds up solving for
It is necessary to prevent gradient descent from getting stuck in local optima.
It prevents the matrix
迭代次数的减少,加快了正确答案的得出。正规方程对计算只与训练集的大小有关,而与至无关,不能阻止梯度下降局部最优(ps:正规方程没有局部最优),第四个答案,除非可以减少特征变量,否则不能解决此问题所以选A
- Coursera Machine Learning 第二周 quiz Linear Regression with Multiple Variables 习题答案 标签: Andrew NgCour
- Coursera Machine Learning 第二周 quiz Linear Regression with Multiple Variables 习题答案
- Machine Learning week 2 quiz: Linear Regression with Multiple Variables
- Machine Learning by Andrew Ng---Linear Regression with multiple variables
- Machine Learning -- Linear Regression with Multiple Variables(Andrew Ng)
- Machine Learning -- Linear Regression with Multiple Variables(Andrew Ng)
- Coursera Machine Learning 第一周 quiz Linear Regression with One Variable 习题答案
- Machine Learning:Linear Regression With Multiple Variables
- Machine Learning - Linear Regression with Multiple Variables
- [Machine Learning (Andrew NG courses)]IV.Linear Regression with Multiple Variables
- Coursera-Machine Learning 笔记(二)Linear Regression with multiple variables
- Coursera Machine Learning 第一周 quiz Linear Algebra习题答案
- 【Stanford Machine Learning】Lecture 2--Linear Regression with Multiple Variables
- Coursera Machine Learning 第二周 quiz Programming Exercise 1: Linear Regression
- Coursera机器学习第二周学习笔记——Linear Regression with Multiple Variables
- Coursera Machine Learning 第二周 quiz Octave/Matlab Tutorial 习题答案
- Coursera-Machine Learning(第二周 Linear Regression)
- 斯坦福 机器学习Andrew NG 第二讲 Linear Regression with multiple variables
- 针对手机拍出的视频不能在web网页播放器插件播放问题-->java对手机视频的处理
- 对于tf中图片处理的一点点小总结
- Aultium Designer 定位孔
- Faster-RCNN_TF代码解读3:train.py
- 91. Decode Ways
- Coursera Machine Learning 第二周 quiz Linear Regression with Multiple Variables 习题答案 标签: Andrew NgCour
- jeecg后台List<Map<String,Object>>对象前台easyui展现
- .net之ORM框架Dapper.net 之增删改查
- 有道云笔记 无法导出,破解 备份文件 .ynt
- 一篇了解TrustZone
- mybites查询 对象包含对象List的方法 一对多方法sql的写法
- 突破Session0之WTSSendMessage 使用
- 深入理解Android Studio之Gradle
- LeetCode——99. Recover Binary Search Tree