吴恩达Coursera, 机器学习专项课程, Machine Learning:Supervised Machine Learning: Regression and Classification第一...

Practice quiz: Supervised vs unsupervised learning

第 1 个问题:Which are the two common types of supervised learning? (Choose two)

【正确】Regression
【解释】Regression predicts a number among potentially infinitely possible numbers.
【不选】Clustering
【正确】Classification
【解释】Classification predicts from among a limited set of categories (also called classes). These could be a limited set of numbers or labels such as "cat" or "dog".

第 2 个问题:Which of these is a type of unsupervised learning?

Classification
【正确】Clustering
Regression
【解释】Clustering groups data into groups or clusters based on how similar each item (such as a hospital patient or shopping customer) are to each other.

Practice quiz: Regression

第 1 个问题:For linear regression, the model is f_{w,b}(x)=wx+b. Which of the following are the inputs, or features, that are fed into the model and with which the model is expected to make a prediction?

w and b.
【正确】x
m
(x,y)
【解释】The xx, the input features, are fed into the model to generate a prediction f_{w,b}(x)

第 2 个问题:For linear regression, if you find parameters ww and bb so that J(w,b) is very close to zero, what can you conclude?

【正确】The selected values of the parameters w and b cause the algorithm to fit the training set really well.
The selected values of the parameters w and b cause the algorithm to fit the training set really poorly.
This is never possible -- there must be a bug in the code.
【解释】When the cost is small, this means that the model fits the training set well.

Practice quiz: Train the model with gradient descent

第 1 个问题:Gradient descent is an algorithm for finding values of parameters w and b that minimize the cost function J. When \frac{\partial J(w,b)}{\partial w} is a negative number (less than zero), what happens to ww after one update step?

【正确】w increases.
w decreases
It is not possible to tell if ww will increase or decrease.
w stays the same
【解释】The learning rate is always a positive number, so if you take W minus a negative number, you end up with a new value for W that is larger (more positive).

第 2 个问题:For linear regression, what is the update step for parameter b?

image

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ZhemgLee

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值