Neural Networks and Deep Learning 学习笔记(二)

1. 第一章习题解答。

There is a way of determining the bitwise representation of a digit by adding an extra layer to the three-layer network above. The extra layer converts the output from the previous layer into a binary representation, as illustrated in the figure below. Find a set of weights and biases for the new output layer. Assume that the first 3 layers of neurons are such that the correct output in the third layer (i.e., the old output layer) has activation at least 0.99, and incorrect outputs have activation less than 0.01.
这里写图片描述

假设新输出层从上到下依次为高位到低位。

十进制与二进制对照表:

0 1 2 3 4 5 6 7 8 9
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001
null 0 1 0、1 2 0、2 1、 2 0、 1、 2 3 0、 3

output neuron对应的是:

最高位 第二位 第一位 最低位
8、9 4、5、6、7 2、3、6、7 1、3、5、7、9

用i代表原始输出从上到下的次序,用j代表输出的nybble从上到下的次序,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值