Natural Language Processing · 免费预览
神经单元的前馈网络
具有非线性激活的单元、隐藏层的 XOR 论证、逐层方程,以及作为网络输入进行池化的嵌入。
1. Feedforward Networks of Neural Units
Feedforward Networks of Neural Units
2. Hidden layers learn representations
Hidden layers learn representations
3. Forward passes in NumPy
Forward passes in NumPy
4. A unit with ReLU
A unit has weights , input and bias . Compute its ReLU activation, , as a decimal.
5. Choosing an activation
Which pairing of activation property and consequence is correct?
6. What if layers were linear?
Suppose every activation in a 5-layer network were replaced by the identity, leaving pure linear layers. What function class can the resulting network compute?
7. The fold that solves XOR
In a two-unit ReLU hidden layer, the inputs and both produce the hidden vector , while produces and produces . In this hidden space, are the XOR-positive points and the XOR-negative points linearly separable? Answer yes or no.
8. Shapes through a 2-layer network
A classifier has input dimension , hidden units with ReLU, and output classes with softmax. How many rows does the first weight matrix have? Answer with the number.