Homework_Week4_Coursera【Machine Learning】AndrewNg、Neural Networks: Representation

Neural Networks: Representation

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

在这里插入图片描述

解析:
A 说两层神经网络,一层输入,一层输出、就可以实现异或功能、无法实现。课上案例必须要有隐藏层
B 逻辑函数完全可以神经网络表达,所以正确
C 有多类别分类任务,用3层网络分三类、设a(3)1是第一个输出、类似的,第二个第三个输出都加起来为1错误、这是最好情况,非一定
D 确实sigmoid函数输出都是在0,1故正确
答案:BD

2. 【wrong】Consider the following neural network which takes two binary-valued inputsXX Which of the following logical functions does it (approximately) compute?

在这里插入图片描述

解析:
计算一下即可

30+x1*-20 +x2*-20x1x2result
30001
10101
10011
-10110

很明显是或

答案:C

纠错:或的话0或上0应该是0、1或1还是1、而与的话只有1与1是1、前三项情况都为0、取反后,非与就对了所以题选Not And

最终答案:A

3.Consider the neural network given below. Which of the following equations correctly computes the activation XXX Note: g(z)g(z) is the sigmoid activation function.

在这里插入图片描述

解析:第三层的输入一定来自第二层,所以选A选项
答案:A

4.You have the following neural network:XXX

在这里插入图片描述
在这里插入图片描述

解析:theta1是33矩阵、x是31、B里面无法相乘、错误,先求Z后整体放入sigmoid自变量中,所以选A
答案:A

5.You are using the neural network pictured below and have learned the parametersXXX

在这里插入图片描述

解析:两边都交换了、等于没换答案:
答案:A

最终得分:80

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

不会写程序的程序员.

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

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

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

打赏作者

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

抵扣说明:

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

余额充值