concept hand in category deep learning

appears as: hd, hds
Deep Learning with PyTorch

This is an excerpt from Manning's book Deep Learning with PyTorch.

  • We need a way to ingest whatever data we have at hand.
  • Figure 5.1 Johannes Kepler considers multiple candidate models that might fit the data at hand, settling on an ellipse.
    Deep Learning for Natural Language Processing

    This is an excerpt from Manning's book Deep Learning for Natural Language Processing.

    A CNN applies a pre-specified number of filters to the grid of pixels that constitutes an image. These filters are actually nothing more but weight matrices. Together, they emphasize certain parts of the input image with respect to the classification task at hand. Picture such a filter as a piece of paper of a smaller size than the image, shifted over the image from left to right, top to bottom, visiting all possible arrangements one at a time, continuously shifting a certain fixed number of pixels. This step size is called a stride. In the case of processing images, every filter performs a weighted aggregation (a sum of products) on the N x N x 3 grid of pixel (RGB) values it is visiting.

    Let us work our way up, from the simplest of embeddings to the more complex ones. Recall from Chapter 1 that there are two major types of vectors encodings, depending on how they were created: representational and operational. Representational vector encodings are designed by hand, and operational encodings are learned from data. Let’s start with the representational type, now from the perspective of embeddings.

    Grokking Deep Learning

    This is an excerpt from Manning's book Grokking Deep Learning.

    If you’ve got a Jupyter notebook in hand and feel comfortable with the basics of Python, you’re ready for the next chapter! As a heads-up, chapter 2 is the last chapter that will be mostly dialogue based (without building something). It’s designed to give you an awareness of the high-level vocabulary, concepts, and fields in artificial intelligence, machine learning, and, most important, deep learning.

    Previously, you performed backpropagation by hand. Let’s make it automatic!

    In chapter 4, you learned about derivatives. Since then, you’ve been computing derivatives by hand for each neural network you train. Recall that this is done by moving backward through the neural network: first compute the gradient at the output of the network, then use that result to compute the derivative at the next-to-last component, and so on until all weights in the architecture have correct gradients. This logic for computing gradients can also be added to the tensor object. Let me show you what I mean. New code is in bold: