1. Home
  2. Explore
  3. Computer Science
  4. Neural Networks & Gradient Descent

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Neural Networks & Gradient Descent

  • 22Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Network Structure
The input layer of the digit recognition network has
neurons, one for each pixel in a 28x28 grid.

22 questions

  1. 1
    The input layer of the digit recognition network has
    _____
    neurons, one for each pixel in a 28x28 grid.
    Hint

    Each pixel corresponds to one neuron in the first layer.

    Answer

    784

  2. 2
    A neuron's activation is computed as the composition of a weighted sum of previous activations plus a
    _____
    with a non-linear function like sigmoid or ReLU.
    Hint

    It's a special number added to the weighted sum before applying the activation function.

    Answer

    bias

  3. 3
    The network described has two hidden layers with
    _____
    neurons each, for a total of about 13,000 weights and biases.
    Hint

    The number is small and even.

    Answer

    16

  4. 4
    The network classifies a digit by the
    _____
    of the 10 output neurons.
    Hint

    Think about which neuron has the highest activation value.

    Answer

    brightest

  5. 5
    The cost for a single training example is the sum of the squares of the differences between the actual output activations and the
    _____
    values.
    Hint

    The values we want the network to produce.

    Answer

    desired

  6. 6
    The average cost over all training examples is a measure of how
    _____
    the network is.
    Hint

    A synonym for bad or poor performance.

    Answer

    lousy

  7. 7
    The cost function takes about
    _____
    inputs (all weights and biases) and outputs a single number.
    Hint

    The approximate number of parameters in the network.

    Answer

    13,000

  8. 8
    The process of repeatedly moving in the direction of the negative gradient to minimize a function is called
    _____
    .
    Hint

    Think about rolling a ball downhill.

    Answer

    gradient descent

  9. 9
    In gradient descent, the step size is often proportional to the
    _____
    of the cost function at the current point.
    Hint

    The derivative (or gradient) magnitude indicates how steep the function is.

    Answer

    slope

  10. 10
    The gradient of a function points in the direction of steepest
    _____
    .
    Hint

    The opposite of descent.

    Answer

    ascent

  11. 11
    The length of the gradient vector indicates the
    _____
    of the steepest slope.
    Hint

    How rapidly the function changes in that direction.

    Answer

    steepness

  12. 12
    The algorithm for efficiently computing the gradient of the cost function is called
    _____
    .
    Hint

    It propagates errors backward through the network.

    Answer

    backpropagation

  13. 13
    The network's learning is equivalent to minimizing a
    _____
    function.
    Hint

    Also called a loss or objective function.

    Answer

    cost

  14. 14
    Neurons have continuous activations rather than binary ones to ensure the cost function is
    _____
    .
    Hint

    A property that allows gradient-based optimization.

    Answer

    smooth

  15. 15
    The network with two hidden layers of 16 neurons classifies about
    _____
    of new images correctly.
    Hint

    A high percentage, but not perfect.

    Answer

    96%

  16. 16
    When the weights from the first to second layer are visualized, they appear
    _____
    rather than picking up edges.
    Hint

    Not structured or meaningful.

    Answer

    random

  17. 17
    Given random noise as input, the network confidently outputs a
    _____
    answer.
    Hint

    It's incorrect but certain.

    Answer

    nonsense

  18. 18
    The network's training setup is tightly constrained because it only sees clearly defined, unmoving digits
    _____
    in a tiny grid.
    Hint

    Position of the digit in the image.

    Answer

    centered

  19. 19
    The network described is considered
    _____
    technology, researched mainly in the 80s and 90s.
    Hint

    It's not state-of-the-art anymore.

    Answer

    old

  20. 20
    In one cited paper, shuffling labels before training still allowed the network to achieve high
    _____
    accuracy, indicating memorization.
    Hint

    Performance on the data it was trained on.

    Answer

    training

  21. 21
    A follow-up paper showed that on structured data, the loss curve drops
    _____
    after an initial phase, indicating easier optimization.
    Hint

    Opposite of slowly.

    Answer

    fast

  22. 22
    Another paper suggested that for structured datasets, the local minima found by gradient descent are of
    _____
    quality.
    Hint

    Similar or same.

    Answer

    equal

1 of 22
Question 1 of 22

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent