机器学习中的神经网络Neural Networks for Machine Learning:Lecture 2 Quiz

Lecture 2 QuizHelp Center

Warning: The hard deadline has passed. You can attempt it, but you will not get credit for it. You are welcome to try it as a learning exercise.


Question 1

If the output of a model is given by  y=f(x;W) , then which of the following choices for  f  are most appropriate when the task is binary classification?

Question 2

After learning using the Perceptron algorithm, how easy is it to express the learned weight vector in terms of the input vectors and the initial weight vector? Assume the input vectors have real-valued components.

Question 3

Suppose we are given three data points: 
x1,01,10,1t110  
Furthermore, we are given the following weight vector (where the bias is set to 0): 
w=(0,3)  
Let  ||w(t)w(t1)||2  be the distance between the weight vectors at iteration  t  and iteration  t1  of the perceptron learning algorithm. Here, for a given 2D vector  v ||v||2=v21+v22  (this is also called the Euclidean norm). What is the maximum amount by which the weight vectors can change between successive iterations? Note that in this example we are  not learning the bias.

Question 4

Suppose that we have a perceptron with weight vector  w  and we create a new set of weights  w=cw  by scaling  w  by some positive constant  c . Assume that the bias is zero. 

True or false: if the perceptron now uses  w  instead then it's classification decisions might change (that is, we have moved the classification boundary).

Question 5

Suppose that we have a perceptron with weight vector  w  and we create a new set of weights  w=w+c  by adding some constant vector  c  to  w . Assume that the bias is zero. 

True or false: if the perceptron now uses  w  instead then it's classification decisions might change (that is, we have moved the classification boundary).

Question 6

Suppose we are given four training cases: 
x1,11,00,10,0t1001  
It is impossible for a binary threshold unit to produce the desired target outputs for all four cases. Now suppose that we add an extra input dimension so that each of the four input vectors consists of three numbers instead of two. 
Which of the following ways of setting the value of the extra input will create a set of four input vectors that is linearly separable (i.e. that can be given the right target values by a binary threshold unit with appropriate weights and bias).

Question 7

Brian wants to use a neural network to predict the price of a stock tomorrow given today's price and the price over the last 10 days. The inputs to this network are price over the last 10 days and the output is tomorrow's price. The hidden units in this network receive information from the layer below, transmit information to the layer above and do not send information within the same layer. Is this an example of a feed-forward network or a recurrent network?

Question 8

Brian and Andy are having an argument about the perceptron algorithm. They have a dataset that the perceptron cannot seem to classify (that is, it fails to converge to a solution). Andy reasons that if he could collect more examples, that might solve the problem by making the data set linearly separable and then the perceptron algorithm will converge. Brian claims that collecting more examples will not help. Which one of them is correct?
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值