1. Home
  2. Explore
  3. Computer Science
  4. Intro to Neural Networks

Study methods

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

Intro to Neural Networks

  • 20Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: AI & ML Basics
A significant part of AI is
which enables algorithms to learn and create their own rules.

20 questions

  1. 1
    A significant part of AI is
    _____
    which enables algorithms to learn and create their own rules.
    Hint

    Think beyond predefined rules; this concept allows algorithms to learn from data.

    Answer

    machine learning

  2. 2
    In a neural network, the first layer is the input layer, the final layer is the output layer, and any layers in between are called
    _____
    .
    Hint

    They are not directly seen from input or output; they process intermediate representations.

    Answer

    hidden layers

  3. 3
    The connections between neurons in adjacent layers are called
    _____
    .
    Hint

    These are numerical values that scale the signal passing through them.

    Answer

    weights

  4. 4
    A neural network can be classified as
    _____
    because it learns to approximate mathematical functions.
    Hint

    It maps inputs to outputs, similar to mathematical functions like f(x)=2x+3f(x)=2x+3f(x)=2x+3.

    Answer

    function approximators

  5. 5
    Each neuron, except input neurons, has a
    _____
    which is a value added to the result after multiplication by the weight.
    Hint

    This allows the graph to shift away from the origin, enabling representation of functions like f(x)=x+2f(x)=x+2f(x)=x+2.

    Answer

    bias

  6. 6
    Without
    _____
    a neural network can only represent linear functions, no matter how many layers are added.
    Hint

    This introduces non-linearity, allowing the network to approximate non-linear functions.

    Answer

    activation function

  7. 7
    The Rectified Linear Unit (ReLU) activation function outputs 0 if the input is less than or equal to 0, and
    _____
    if the input is greater than 0.
    Hint

    It's a simple function that only activates for positive inputs.

    Answer

    leaves the number unchanged

  8. 8
    The step activation function returns 1 if the input is positive and
    _____
    if it is not.
    Hint

    It's a binary threshold function.

    Answer

    0

  9. 9
    The sigmoid activation function squeezes all values into a range from
    _____
    .
    Hint

    It maps any real number to a value between two endpoints.

    Answer

    0 to 1

  10. 10
    In supervised learning, the network learns from labeled data, and a measure of how well it performs is called the
    _____
    .
    Hint

    It quantifies the error between the network's output and the true labels.

    Answer

    cost

  11. 11
    The process of adjusting weights and biases to minimize the cost by moving in the opposite direction of the gradient is called
    _____
    .
    Hint

    It uses derivatives to find the direction of steepest descent.

    Answer

    gradient descent

  12. 12
    The
    _____
    is a user-defined value that controls the step size when updating weights and biases during training.
    Hint

    Often denoted by α\alphaα, it balances convergence speed and stability.

    Answer

    learning rate

  13. 13
    The algorithm that efficiently computes the gradient of the cost with respect to every weight and bias by working backward from the output is called
    _____
    .
    Hint

    It leverages the chain rule to propagate errors from the output layer back through the network.

    Answer

    backpropagation

  14. 14
    In calculus, the
    _____
    of a function with respect to a variable tells us the rate of change of the function when the variable changes.
    Hint

    It measures sensitivity: how much the output changes for a small input change.

    Answer

    derivative

  15. 15
    Backpropagation uses the
    _____
    to compute the derivative of the cost with respect to weights by multiplying derivatives through successive layers.
    Hint

    It allows decomposing complex derivatives into simpler ones.

    Answer

    chain rule

  16. 16
    The derivative of the sigmoid activation function σ(z)\sigma(z)σ(z) can be expressed as σ(z)⋅(1−σ(z))\sigma(z) \cdot (1 - \sigma(z))σ(z)⋅(1−σ(z)) or equivalently a⋅(1−a)a \cdot (1 - a)a⋅(1−a) where a=σ(z)a = \sigma(z)a=σ(z) is
    _____
    .
    Hint

    It's the value of the neuron after applying the activation.

    Answer

    the output of the sigmoid function

  17. 17
    When a neural network has multiple output neurons, it can be viewed as consisting of
    _____
    that share the same inputs.
    Hint

    Each output is computed separately but from the same input representation.

    Answer

    multiple functions

  18. 18
    During training, after computing the gradients for each data point, the network updates weights in the
    _____
    direction of the average gradient.
    Hint

    To minimize the cost, we want to move downhill on the error surface.

    Answer

    opposite

  19. 19
    In backpropagation, the derivative of the cost with respect to the bias is always
    _____
    (assuming no activation function applied after the bias is added).
    Hint

    It's the same as the derivative of a sum with respect to one of its terms.

    Answer

    1

  20. 20
    To speed up training, the data can be split into smaller
    _____
    and each iteration uses a different one.
    Hint

    This method is called mini-batch gradient descent.

    Answer

    batches

1 of 20
Question 1 of 20

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent