|
479 | 479 | "##### Review of what you learnt so far\n",
|
480 | 480 | "* Network can have many layers of computation\n",
|
481 | 481 | "* Network takes an input and produces an output in the :forward pass\n",
|
482 |
| - "* Criterion computes the loss of the network, and it's gradients w.r.t. the output of the network.\n", |
483 |
| - "* Network takes an (input, gradients) pair in it's backward pass and calculates the gradients w.r.t. each layer (and neuron) in the network.\n", |
| 482 | + "* Criterion computes the loss of the network, and its gradients w.r.t. the output of the network.\n", |
| 483 | + "* Network takes an (input, gradients) pair in its backward pass and calculates the gradients w.r.t. each layer (and neuron) in the network.\n", |
484 | 484 | "\n",
|
485 | 485 | "##### Missing details\n",
|
486 | 486 | "> A neural network layer can have learnable parameters or not.\n",
|
487 | 487 | "\n",
|
488 |
| - "A convolution layer learns it's convolution kernels to adapt to the input data and the problem being solved. \n", |
| 488 | + "A convolution layer learns its convolution kernels to adapt to the input data and the problem being solved. \n", |
489 | 489 | "A max-pooling layer has no learnable parameters. It only finds the max of local windows.\n",
|
490 | 490 | "\n",
|
491 | 491 | "A layer in torch which has learnable weights, will typically have fields .weight (and optionally, .bias)"
|
|
633 | 633 | "cell_type": "markdown",
|
634 | 634 | "metadata": {},
|
635 | 635 | "source": [
|
636 |
| - "Now, to prepare the dataset to be used with __nn.StochasticGradient__, a couple of things have to be done according to it's [documentation](https://github.com/torch/nn/blob/master/doc/training.md#traindataset).\n", |
| 636 | + "Now, to prepare the dataset to be used with __nn.StochasticGradient__, a couple of things have to be done according to its [documentation](https://github.com/torch/nn/blob/master/doc/training.md#traindataset).\n", |
637 | 637 | "1. The dataset has to have a :size() function.\n",
|
638 | 638 | "2. The dataset has to have a [i] index operator, so that dataset[i] returns the ith sample in the datset.\n",
|
639 | 639 | "\n",
|
|
1025 | 1025 | "source": [
|
1026 | 1026 | "You can see the network predictions. The network assigned a probability to each classes, given the image.\n",
|
1027 | 1027 | "\n",
|
1028 |
| - "To make it clearer, let us tag each probability with it's class-name:" |
| 1028 | + "To make it clearer, let us tag each probability with its class-name:" |
1029 | 1029 | ]
|
1030 | 1030 | },
|
1031 | 1031 | {
|
|
0 commit comments