1. Home
  2. Explore
  3. Computer Science
  4. Deep Learning Fundamentals

Study methods

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

Deep Learning Fundamentals

  • 62Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Deep Learning Basics

What makes a deep learning algorithm a type of machine learning algorithm?

62 questions

  1. 1

    What makes a deep learning algorithm a type of machine learning algorithm?

    1. A

      It stores every input and returns the closest stored example

    2. B

      It uses only statistical probabilities and no mathematical functions

    3. C

      It extracts features from inputs through multiple layers of formulas

    4. D

      It requires every input to be labeled with a correct answer

    Correct answer
    C

    It extracts features from inputs through multiple layers of formulas

    Explanation

    Deep learning is described as machine learning that extracts features from input values using multiple layers of formulas.

  2. 2

    Which set contains only deep learning algorithm examples named in the content?

    1. A

      Bayesian networks, clustering, and nearest-neighbor algorithms

    2. B

      Decision trees, support vector machines, and linear regression

    3. C

      Deep neural networks, deep belief networks, and recurrent neural networks

    4. D

      Genetic algorithms, rule systems, and database search

    Correct answer
    C

    Deep neural networks, deep belief networks, and recurrent neural networks

    Explanation

    The examples listed include deep neural networks, deep belief networks, deep reinforcement learning, recurrent neural networks, and convolutional neural networks.

  3. 3

    Which statement best describes the relationship between neural networks and deep learning?

    1. A

      They are identical terms because every neural network is a deep learning model

    2. B

      They are distinct concepts, although many modern deep learning models use neural networks

    3. C

      Deep learning is a neural network algorithm that cannot be used for artificial intelligence

    4. D

      Neural networks are a kind of deep learning, but deep learning never uses neural networks

    Correct answer
    B

    They are distinct concepts, although many modern deep learning models use neural networks

    Explanation

    The content distinguishes neural network algorithms from deep learning, while noting that most modern deep learning algorithms are implemented using neural networks, leading people to use the terms interchangeably.

  4. 4

    Which statement about reinforcement learning is supported by the content?

    1. A

      It is another name for supervised learning and always uses multiple layers

    2. B

      It is not related to deep learning and always requires a neural network

    3. C

      It is a type of neural network that cannot be used without labeled answers

    4. D

      It is a kind of deep learning, but it can be implemented without neural networks

    Correct answer
    D

    It is a kind of deep learning, but it can be implemented without neural networks

    Explanation

    The content describes reinforcement learning models as a kind of deep learning algorithm but notes that reinforcement learning can be implemented without neural networks.

  5. 5

    What does the term artificial neural network refer to in the content?

    1. A

      A collection of input data with no mathematical operations

    2. B

      An algorithm composed of connected artificial neurons

    3. C

      A set of rules that replaces all activation functions

    4. D

      A biological system made from living neurons

    Correct answer
    B

    An algorithm composed of connected artificial neurons

    Explanation

    Artificial neural networks, also called neural networks, consist of combinations of artificial neurons connected to process inputs.

  6. 6

    Why should artificial neurons not be assumed to work like biological neurons?

    1. A

      Artificial neurons transmit electrical signals in exactly the same way as biological neurons

    2. B

      Artificial neurons work only with images, while biological neurons work only with numbers

    3. C

      Artificial neurons contain biological cells, while organism neurons are mathematical models

    4. D

      Artificial neurons are combinations of mathematical functions and work differently from organism neurons

    Correct answer
    D

    Artificial neurons are combinations of mathematical functions and work differently from organism neurons

    Explanation

    The content emphasizes that, from a modern neuroscience perspective, artificial neurons work differently from biological neurons; an artificial neuron is a combination of mathematical functions.

  7. 7

    Why can a neural network process real-world data, according to the explanation of data in the content?

    1. A

      All real-world data is already stored as activation functions

    2. B

      Only facts that cannot be expressed can be processed by neural networks

    3. C

      Neural networks convert every real-world event directly into a biological signal

    4. D

      Many real-world facts can be expressed numerically, and neural networks process numbers

    Correct answer
    D

    Many real-world facts can be expressed numerically, and neural networks process numbers

    Explanation

    The content defines data as expressible facts and notes that such facts can be represented numerically, allowing neural networks that process numbers to work with data.

  8. 8

    What does a neural network's feature represent as data passes through the network?

    1. A

      A biological signal that replaces the numerical input

    2. B

      A fixed weight that is never changed during training

    3. C

      A guaranteed correct answer that appears only at the input layer

    4. D

      Information derived from the real world that may or may not be useful

    Correct answer
    D

    Information derived from the real world that may or may not be useful

    Explanation

    Real-world data is transformed into features as it passes through the network, and those features may or may not be useful information.

  9. 9

    Which statement about statistical or probabilistic deep learning models is supported by the content?

    1. A

      Such models exist, and understanding them requires substantial statistics or probability knowledge

    2. B

      Such models do not exist because all deep learning uses neural networks

    3. C

      Such models require no mathematical background and replace all neural networks

    4. D

      Such models are the only kind of deep learning used in modern artificial intelligence

    Correct answer
    A

    Such models exist, and understanding them requires substantial statistics or probability knowledge

    Explanation

    The content notes that deep learning models based on statistics or probabilistic algorithms exist, but understanding them requires considerable statistical or probability knowledge.

  10. 10

    In a fully connected neural network, how are neurons in one layer connected to the next layer?

    1. A

      Each neuron sends its output to all neurons in the next layer

    2. B

      Only the input layer sends outputs, while hidden layers remain disconnected

    3. C

      Each neuron sends its output to exactly one neuron in the next layer

    4. D

      Neurons send outputs only to neurons in the same layer

    Correct answer
    A

    Each neuron sends its output to all neurons in the next layer

    Explanation

    In a fully connected network, artificial neurons transmit their output to all neurons in the next layer.

  11. 11

    What is a hidden layer in a neural network?

    1. A

      Any layer other than the input layer or the layer that returns the result

    2. B

      The final layer that returns the network's computation result

    3. C

      The layer that receives the original data and no other layer

    4. D

      A layer whose neurons do not have inputs or outputs

    Correct answer
    A

    Any layer other than the input layer or the layer that returns the result

    Explanation

    A hidden layer is any layer other than the layer receiving input data or the layer returning the neural network's computation result.

  12. 12

    How many hidden layers are included in the fully connected network example described in the content?

    1. A

      Two hidden layers

    2. B

      One hidden layer for every input port

    3. C

      No hidden layers

    4. D

      One hidden layer

    Correct answer
    D

    One hidden layer

    Explanation

    The described illustration is a fully connected neural network that includes one hidden layer.

  13. 13

    What is the role of an artificial neuron's activation function?

    1. A

      It stores the original data without transforming it

    2. B

      It connects the input layer directly to every output without computation

    3. C

      It determines which training examples are correct before the model runs

    4. D

      It performs an operation on the neuron's input and returns a result

    Correct answer
    D

    It performs an operation on the neuron's input and returns a result

    Explanation

    An artificial neuron passes its input to an activation function, which performs an operation and returns a result.

  14. 14

    Why might activation functions differ among neurons?

    1. A

      They change the biological structure of the artificial neuron

    2. B

      They may be designed differently depending on the input data or the neuron's role

    3. C

      They are selected only according to the number of training examples

    4. D

      They must all be identical because every neuron receives the same input

    Correct answer
    B

    They may be designed differently depending on the input data or the neuron's role

    Explanation

    The content states that activation functions vary and are usually designed differently depending on the input data or the neuron's role.

  15. 15

    Which sequence correctly describes how information moves through a neural network during forward propagation?

    1. A

      Input data is processed by neurons and activation functions, and outputs pass to the next layer

    2. B

      Weights are removed from the network before inputs are sent to activation functions

    3. C

      Each layer sends its input directly back to the original data source

    4. D

      Correct answers enter the output layer first, and weights are sent back as predictions

    Correct answer
    A

    Input data is processed by neurons and activation functions, and outputs pass to the next layer

    Explanation

    Forward propagation involves passing values through activation functions and onward to the next layer, starting from the input data.

  16. 16

    What is the purpose of the input ports of an artificial neuron?

    1. A

      They store the final loss without receiving any values

    2. B

      They connect only to other ports within the same neuron

    3. C

      They send correct answers from the output layer to the training data

    4. D

      They receive data from the network input or outputs of the previous layer

    Correct answer
    D

    They receive data from the network input or outputs of the previous layer

    Explanation

    A neuron may have one or several input ports, connected either to the neural network's input data or to output ports of the previous layer.

  17. 17

    What does a weight attached to an input port allow a neuron to do?

    1. A

      Determine whether the input is biological or artificial

    2. B

      Guarantee that the neuron's output is always correct

    3. C

      Represent how important that input is compared with other inputs

    4. D

      Decide how many layers the network must contain

    Correct answer
    C

    Represent how important that input is compared with other inputs

    Explanation

    A neuron can assign weights to its input ports to indicate the relative importance of the different inputs.

  18. 18

    How does a basic artificial neuron produce a value from its inputs?

    1. A

      It averages all correct answers and stores the result as an input

    2. B

      It converts each input into a separate output without combining them

    3. C

      It computes a weighted sum of the inputs and uses an activation function

    4. D

      It selects the largest input and copies it without further processing

    Correct answer
    C

    It computes a weighted sum of the inputs and uses an activation function

    Explanation

    The neuron calculates a value based on the sum of its weighted input values, and the activation function obtains an output from an input.

  19. 19

    How can neural network structures other than fully connected networks be understood in relation to the example?

    1. A

      They cannot process data through layers or activation functions

    2. B

      They always require a different definition of training

    3. C

      They use biological neurons instead of mathematical functions

    4. D

      They can work similarly at a basic level, even if their connection patterns differ

    Correct answer
    D

    They can work similarly at a basic level, even if their connection patterns differ

    Explanation

    The content uses a fully connected network for explanation and says networks constructed in other ways work similarly enough to understand the basic algorithm.

  20. 20

    In the spam-detection example, what are the three binary inputs?

    1. A

      Whether the message is long, whether the sender is known, and whether the email is encrypted

    2. B

      Whether “password” appears, whether the receiver replied, and whether the subject is blank

    3. C

      Whether the receiver is blacklisted, whether “spam” appears, and whether an image is attached

    4. D

      Whether the sender is blacklisted, whether “password” appears, and whether an “exe” file is attached

    Correct answer
    D

    Whether the sender is blacklisted, whether “password” appears, and whether an “exe” file is attached

    Explanation

    The example uses three true-or-false inputs: sender on a blacklist, the word “password” in the email, and an attached file with the “exe” extension.

  21. 21

    How are true and false inputs represented numerically in the spam example?

    1. A

      True is represented by 222 and false by −2-2−2

    2. B

      True is represented by 0.50.50.5 and false by −1-1−1

    3. C

      True is represented by 000 and false by 111

    4. D

      True is represented by 111 and false by 000

    Correct answer
    D

    True is represented by 111 and false by 000

    Explanation

    The example sets an input to 111 when it is true and to 000 otherwise.

  22. 22

    Why does the spam example assign the largest weight to the blacklist input?

    1. A

      A blacklisted sender is treated as a particularly strong indication of spam

    2. B

      The blacklist input is the only one that can be represented as a number

    3. C

      A blacklisted sender always guarantees that the email is not spam

    4. D

      The other inputs cannot be passed into an activation function

    Correct answer
    A

    A blacklisted sender is treated as a particularly strong indication of spam

    Explanation

    The example assigns the blacklist input a weight of 0.50.50.5 because a blacklisted sender makes spam more likely than the other signals in that example.

  23. 23

    What weights are assigned to the three inputs in the spam-detection example, in order?

    1. A

      0.50.50.5, 0.20.20.2, and 0.30.30.3

    2. B

      0.30.30.3, 0.20.20.2, and 0.50.50.5

    3. C

      0.20.20.2, 0.50.50.5, and 0.30.30.3

    4. D

      0.50.50.5, 0.30.30.3, and 0.20.20.2

    Correct answer
    A

    0.50.50.5, 0.20.20.2, and 0.30.30.3

    Explanation

    The blacklist input receives weight 0.50.50.5, the password-word input receives 0.20.20.2, and the executable-attachment input receives 0.30.30.3.

  24. 24

    In the example, how is an email classified as spam?

    1. A

      It is spam when the weighted input sum is greater than 0.50.50.5

    2. B

      It is spam only when all three inputs are false

    3. C

      It is spam when the weighted input sum is less than 0.50.50.5

    4. D

      It is spam whenever any input has a weight of 0.50.50.5

    Correct answer
    A

    It is spam when the weighted input sum is greater than 0.50.50.5

    Explanation

    The example's activation function classifies an email as spam when the weighted sum exceeds the threshold of 0.50.50.5.

  25. 25

    An email has a blacklisted sender, no occurrence of “password,” and an attached “exe” file. What weighted sum does the example produce?

    1. A

      1.01.01.0

    2. B

      0.30.30.3

    3. C

      0.80.80.8

    4. D

      0.50.50.5

    Correct answer
    C

    0.80.80.8

    Explanation

    The inputs are 111, 000, and 111, so their weighted sum is (1)(0.5)+(0)(0.2)+(1)(0.3)=0.8(1)(0.5) + (0)(0.2) + (1)(0.3) = 0.8(1)(0.5)+(0)(0.2)+(1)(0.3)=0.8.

  26. 26

    What does the activation function return for the email with a weighted sum of 0.80.80.8?

    1. A

      A non-spam classification, represented as 000

    2. B

      The largest input weight, represented as 0.50.50.5

    3. C

      A spam classification, represented as 111

    4. D

      The unweighted sum of the three inputs, represented as 222

    Correct answer
    C

    A spam classification, represented as 111

    Explanation

    Because 0.80.80.8 is greater than the threshold 0.50.50.5, the example classifies the email as spam; the actual activation output is 111 for spam and 000 otherwise.

  27. 27

    What is meant by training the neural network in the spam example?

    1. A

      Setting every weight to the same value regardless of accuracy

    2. B

      Optimizing the weights so the network produces more accurate results

    3. C

      Adding more input ports without changing the model's behavior

    4. D

      Replacing true-or-false inputs with biological signals

    Correct answer
    B

    Optimizing the weights so the network produces more accurate results

    Explanation

    The content describes training as optimizing weights to obtain more accurate results.

  28. 28

    How does the simple spam example compare with neural networks used in practice?

    1. A

      Practical networks use the same three inputs but never adjust weights

    2. B

      Practical networks generally use more complex inputs and may have many more layers

    3. C

      Practical networks cannot use weighted inputs or binary features

    4. D

      Practical networks use fewer inputs and no activation functions

    Correct answer
    B

    Practical networks generally use more complex inputs and may have many more layers

    Explanation

    The example is deliberately simple, while neural networks used in practice have many more inputs and layers; their basic algorithm remains similar.

  29. 29

    What information is used to train a supervised-learning neural network?

    1. A

      Pairs consisting of an input and its correct answer

    2. B

      Inputs with no associated outputs or answers

    3. C

      Correct answers without any corresponding inputs

    4. D

      Weights collected from unrelated neural networks

    Correct answer
    A

    Pairs consisting of an input and its correct answer

    Explanation

    Supervised-learning neural networks are trained using pairs of input data and the correct answer output.

  30. 30

    Why is supervised learning compared with memorizing quiz question-and-answer pairs?

    1. A

      Both avoid receiving correct answers until after learning is complete

    2. B

      Both involve learning from examples that pair a problem with a correct answer

    3. C

      Both require the learner to calculate gradients by hand

    4. D

      Both learn only by changing the wording of the questions

    Correct answer
    B

    Both involve learning from examples that pair a problem with a correct answer

    Explanation

    The analogy is that people may memorize questions and correct answers to prepare for a quiz, while supervised models learn from input-and-answer pairs.

  31. 31

    What happens when a supervised neural network receives an input before its output is evaluated?

    1. A

      It ignores the input until every training pair has been processed

    2. B

      It compares the input with the loss without producing an output

    3. C

      It immediately replaces its weights with the correct answer

    4. D

      It computes and returns an output through its activation functions

    Correct answer
    D

    It computes and returns an output through its activation functions

    Explanation

    The model calculates and returns an output value from the input through the activation functions defined in the network.

  32. 32

    What is the next step after a supervised model produces an output during training?

    1. A

      Remove all weights before processing the next example

    2. B

      Convert the output into a new input without evaluation

    3. C

      Compare the model's output with the correct answer

    4. D

      Discard the correct answer and keep the output unchanged

    Correct answer
    C

    Compare the model's output with the correct answer

    Explanation

    Supervised training compares the output produced by the model with the correct answer value.

  33. 33

    How does supervised training use the comparison between a model output and the correct answer?

    1. A

      It changes weights so a repeated input is more likely to produce an answer closer to the correct one

    2. B

      It keeps the weights fixed and changes only the activation-function name

    3. C

      It removes the input whenever the output is not already correct

    4. D

      It changes the correct answer to match the model's current output

    Correct answer
    A

    It changes weights so a repeated input is more likely to produce an answer closer to the correct one

    Explanation

    The model's weights are changed in order to return an output similar to the correct answer when the same input is received again.

  34. 34

    What does “error” mean in the training explanation?

    1. A

      The difference between the correct answer and the model's returned value

    2. B

      The difference between two weights in the same neuron

    3. C

      The amount of training data processed in one epoch

    4. D

      The number of input ports in a hidden layer

    Correct answer
    A

    The difference between the correct answer and the model's returned value

    Explanation

    The content defines error as the difference between the correct answer and the value returned by the model.

  35. 35

    How is loss related to error in the simplified explanation?

    1. A

      Loss is the difference between the input and its weight

    2. B

      Loss is always equal to the model's output

    3. C

      Loss can be thought of as the square of the error

    4. D

      Loss is the number of layers multiplied by the error

    Correct answer
    C

    Loss can be thought of as the square of the error

    Explanation

    The content says that loss can be thought of as the square of the error and that larger errors produce larger losses.

  36. 36

    What direction does neural network training try to move the loss value?

    1. A

      Toward a smaller loss value

    2. B

      Toward a larger loss value

    3. C

      Toward the number of input features

    4. D

      Toward a fixed value regardless of error

    Correct answer
    A

    Toward a smaller loss value

    Explanation

    Training proceeds in the direction of decreasing loss, which corresponds to reducing the model's error.

  37. 37

    What is back propagation, in the content's broad explanation?

    1. A

      Sending the correct answer through the network as a prediction

    2. B

      Passing the original input backward before any output is computed

    3. C

      Changing weights in earlier layers based on the loss

    4. D

      Adding a new layer whenever the output differs from the answer

    Correct answer
    C

    Changing weights in earlier layers based on the loss

    Explanation

    Back propagation is described as changing weights of previous layers based on the loss value.

  38. 38

    Which sequence best describes supervised neural network training?

    1. A

      Process input forward, compare output with the answer, then adjust weights to reduce loss

    2. B

      Send the correct answer through the output layer, then calculate a new input

    3. C

      Compare inputs with weights, classify every input as correct, then stop updating

    4. D

      Adjust weights first, remove the answer, then pass data backward to create an input

    Correct answer
    A

    Process input forward, compare output with the answer, then adjust weights to reduce loss

    Explanation

    The model first produces an output through forward computation, compares it with the correct answer, and adjusts weights to reduce the resulting loss.

  39. 39

    What does differentiation help identify in the discussion of back propagation?

    1. A

      Which training example contains the most input ports

    2. B

      Whether an input is true or false without using a weight

    3. C

      How one variable changes in relation to a change in another variable

    4. D

      How many epochs are needed for every possible model

    Correct answer
    C

    How one variable changes in relation to a change in another variable

    Explanation

    The content presents differentiation as finding how one variable changes according to a change in another, and uses it to examine the relationship between loss and weight.

  40. 40

    Why is the derivative of loss with respect to a weight useful?

    1. A

      It gives the correct answer for the model's input

    2. B

      It identifies the number of neurons in the output layer

    3. C

      It describes how loss changes when that weight changes

    4. D

      It determines whether the training data is numerical

    Correct answer
    C

    It describes how loss changes when that weight changes

    Explanation

    Differentiating loss with respect to weight reveals the relationship between the loss and changes to that weight.

  41. 41

    What is the chain rule used for in the back-propagation explanation?

    1. A

      Turning a correct answer into an input feature

    2. B

      Measuring the number of data pairs in a training set

    3. C

      Expressing a derivative as a product of other derivatives

    4. D

      Replacing every activation function with a weighted sum

    Correct answer
    C

    Expressing a derivative as a product of other derivatives

    Explanation

    The chain rule allows a derivative to be expressed as a product of several other derivatives, making it possible to calculate the loss-weight relationship through intermediate quantities.

  42. 42

    In the simple neuron described, which intermediate quantities are connected by the chain of derivatives for loss with respect to weight?

    1. A

      Input data, correct answer, epoch, and learning rate

    2. B

      Loss, output, weighted sum, and weight

    3. C

      Activation function, input label, data pair, and prediction

    4. D

      Hidden layer, output port, GPU, and training set

    Correct answer
    B

    Loss, output, weighted sum, and weight

    Explanation

    The derivative of loss with respect to weight can be expressed as a product involving the derivatives of loss with respect to output, output with respect to weighted sum, and weighted sum with respect to weight.

  43. 43

    For the sigmoid activation function described, how is its derivative expressed in terms of the output?

    1. A

      1−weighted sum1 - \text{weighted sum}1−weighted sum

    2. B

      output(1−output)\text{output}(1 - \text{output})output(1−output)

    3. C

      output+1\text{output} + 1output+1

    4. D

      weight×loss\text{weight} \times \text{loss}weight×loss

    Correct answer
    B

    output(1−output)\text{output}(1 - \text{output})output(1−output)

    Explanation

    The content states that the sigmoid derivative can be expressed as the output multiplied by one minus the output.

  44. 44

    Why can the sigmoid derivative be written using the neuron's output?

    1. A

      The output is always equal to the input weight

    2. B

      The weighted sum is always equal to the correct answer

    3. C

      The output is calculated before the activation function runs

    4. D

      The activation function's return value is the output

    Correct answer
    D

    The activation function's return value is the output

    Explanation

    The output of an artificial neuron is the value returned by its activation function, so the sigmoid derivative can be expressed in terms of that output.

  45. 45

    What is the weighted sum in the neuron example?

    1. A

      The sum of correct answers divided by the number of layers

    2. B

      The difference between the activation output and the learning rate

    3. C

      The total number of inputs multiplied by the loss

    4. D

      The sum formed by multiplying inputs by their weights

    Correct answer
    D

    The sum formed by multiplying inputs by their weights

    Explanation

    The weighted sum is obtained by multiplying the inputs by their weights and adding the resulting values before applying the activation function.

  46. 46

    When the weighted sum is differentiated with respect to a weight, what result does the content describe?

    1. A

      The activation function's output for every layer

    2. B

      The learning rate multiplied by the correct answer

    3. C

      The input associated with that weight

    4. D

      The loss value for the entire training set

    Correct answer
    C

    The input associated with that weight

    Explanation

    Because the input is the coefficient of the weight in the weighted sum, differentiating the weighted sum with respect to that weight yields the input.

  47. 47

    What is a gradient in the weight-loss graph explanation?

    1. A

      The vertical distance between the input and the output layer

    2. B

      The slope of the tangent line at the current weight

    3. C

      The total loss accumulated over all training examples

    4. D

      The number of times a training pair is processed

    Correct answer
    B

    The slope of the tangent line at the current weight

    Explanation

    The gradient is defined as the slope of the tangent line to the loss-versus-weight graph at the current weight.

  48. 48

    If the gradient is positive, how should the weight change to reduce loss?

    1. A

      Increase the weight

    2. B

      Set the weight equal to the loss

    3. C

      Decrease the weight

    4. D

      Keep the weight unchanged

    Correct answer
    C

    Decrease the weight

    Explanation

    A positive gradient means loss increases as weight increases, so reducing the weight moves in the direction of lower loss.

  49. 49

    If the gradient is negative, how should the weight change to reduce loss?

    1. A

      Increase the weight

    2. B

      Set the weight equal to the input

    3. C

      Decrease the weight

    4. D

      Keep the weight unchanged

    Correct answer
    A

    Increase the weight

    Explanation

    A negative gradient means loss decreases as weight increases, so increasing the weight moves in the direction of lower loss.

  50. 50

    What role does the learning rate play when updating a weight?

    1. A

      It controls the size of the weight change and is positive

    2. B

      It replaces the gradient and never affects the update size

    3. C

      It counts the input ports and decreases as loss increases

    4. D

      It determines the correct answer and is always negative

    Correct answer
    A

    It controls the size of the weight change and is positive

    Explanation

    The learning rate is positive and controls the magnitude of the weight change; a larger learning rate produces a larger change.

  51. 51

    What happens to the direction of the weight update when the gradient changes sign?

    1. A

      A positive gradient leads to a larger weight, while a negative gradient leads to a smaller weight

    2. B

      Both gradient signs always lead to a smaller weight

    3. C

      Both gradient signs always lead to a larger weight

    4. D

      A positive gradient leads to a smaller weight, while a negative gradient leads to a larger weight

    Correct answer
    D

    A positive gradient leads to a smaller weight, while a negative gradient leads to a larger weight

    Explanation

    With a positive learning rate, a positive gradient makes the new weight smaller than the old one, while a negative gradient makes it larger.

  52. 52

    How are the weights of other neurons and layers updated during back propagation?

    1. A

      They are updated using gradients calculated through the chain rule

    2. B

      They are all assigned the same fixed value after one neuron is updated

    3. C

      They are updated without reference to loss or derivatives

    4. D

      They are changed only when the network receives no input

    Correct answer
    A

    They are updated using gradients calculated through the chain rule

    Explanation

    The weights in each layer are updated using gradients calculated based on the chain rule, and the number of calculations grows with network size.

  53. 53

    Why are GPUs used in the neural network training process described?

    1. A

      They provide the correct answers for supervised training

    2. B

      They help perform the many calculations quickly

    3. C

      They replace the network's weights with input data

    4. D

      They prevent the model from calculating a loss

    Correct answer
    B

    They help perform the many calculations quickly

    Explanation

    The content notes that gradient calculations multiply as networks grow and that GPUs are used to perform these calculations quickly.

  54. 54

    What does one epoch mean in the described training process?

    1. A

      Calculating the output for one neuron in one layer

    2. B

      Changing one weight without using a gradient

    3. C

      Running back propagation across all neurons for all training data

    4. D

      Processing a single input once without comparing its output

    Correct answer
    C

    Running back propagation across all neurons for all training data

    Explanation

    Running back propagation on all neurons across all training data is called one epoch.

  55. 55

    If a training set contains multiple input-answer pairs, what must the model do?

    1. A

      Use only the first pair and ignore the remaining data

    2. B

      Repeat the weight-updating process across all of the pairs

    3. C

      Combine all correct answers into a single input

    4. D

      Stop training after calculating the first output

    Correct answer
    B

    Repeat the weight-updating process across all of the pairs

    Explanation

    When multiple input-answer pairs are present, the weight-update process must be repeated for all of them.

  56. 56

    When is training described as complete in the content?

    1. A

      As soon as the model processes the first input-answer pair

    2. B

      After weight updates based on all data pairs have been performed several times

    3. C

      When the network has produced any output, even without comparison

    4. D

      After every weight has been set to the same value

    Correct answer
    B

    After weight updates based on all data pairs have been performed several times

    Explanation

    Training is described as completing after the model updates weights using all data pairs several times, usually across multiple epochs.

  57. 57

    What general relationship between data amount and training epochs is stated?

    1. A

      The amount of data has no relationship to the number of epochs

    2. B

      A larger amount of data always requires more epochs

    3. C

      A smaller amount of data makes multiple epochs impossible

    4. D

      A larger amount of data may allow training to finish with fewer epochs

    Correct answer
    D

    A larger amount of data may allow training to finish with fewer epochs

    Explanation

    The content says that generally, with a large amount of data, model training can be completed with fewer training epochs.

  58. 58

    What is inference in an artificial intelligence model?

    1. A

      Obtaining an output corresponding to an input

    2. B

      Changing weights using the correct answer

    3. C

      Calculating the number of training examples

    4. D

      Assigning an activation function to every input

    Correct answer
    A

    Obtaining an output corresponding to an input

    Explanation

    Inference means obtaining an output corresponding to an input value in an artificial intelligence model.

  59. 59

    How are prediction and inference related in the content?

    1. A

      Inference is one type of training, but prediction is not related to it

    2. B

      Inference occurs only when a correct answer is already known

    3. C

      Prediction and inference are opposites

    4. D

      Prediction is one type of inference

    Correct answer
    D

    Prediction is one type of inference

    Explanation

    The content identifies prediction as a type of inference.

  60. 60

    What is inference also called in artificial neural network models?

    1. A

      A weighted error

    2. B

      Forward propagation

    3. C

      An epoch

    4. D

      Back propagation

    Correct answer
    B

    Forward propagation

    Explanation

    Inference in artificial neural network models is also called forward propagation.

  61. 61

    Which statement correctly contrasts training with inference?

    1. A

      Training is forward propagation, while inference is always back propagation

    2. B

      Training modifies weights based on errors, while inference computes an output for an input

    3. C

      Training and inference both require correct answers for every input

    4. D

      Training computes outputs without changing weights, while inference changes weights using answers

    Correct answer
    B

    Training modifies weights based on errors, while inference computes an output for an input

    Explanation

    Training modifies network weights in response to errors, whereas inference obtains an output corresponding to an input.

  62. 62

    Which summary best captures how a neural network derives information from input data?

    1. A

      It assigns equal importance to every input and bypasses activation functions

    2. B

      It stores inputs unchanged and retrieves a matching correct answer without calculation

    3. C

      It converts numerical inputs into biological neurons and returns a nonnumerical result

    4. D

      It divides inputs across ports, weights their importance, and processes them through functions to produce a numerical output

    Correct answer
    D

    It divides inputs across ports, weights their importance, and processes them through functions to produce a numerical output

    Explanation

    The content summarizes a neural network as a set of functions that handles input parts, considers their weights, and derives a numerical output that can represent new information from real-world data.

Question 1 of 62
Question 1 of 62

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent