Deep Learning Fundamentals
- 58Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What is deep learning?
A type of machine learning that extracts features from input values using multiple layers of formulas.
Or swipe the card
58 cards
What is deep learning?
A type of machine learning that extracts features from input values using multiple layers of formulas.
What are some well-known deep learning algorithms or model types?
Deep neural networks, deep belief networks, deep reinforcement learning, recurrent neural networks, and convolutional neural networks.
How are most modern deep learning algorithms implemented?
Using neural network techniques.
Are deep learning and neural networks exactly the same thing?
No. Deep learning is a type of machine learning, while a neural network is an algorithmic technique often used to implement it.
Can reinforcement learning be implemented without a neural network?
Yes. Reinforcement learning models can be implemented without neural networks, even though some reinforcement learning approaches are deep learning algorithms.
What is another name for an artificial neural network, and what is it made of?
It is also called a neural network and consists of connected artificial neurons.
Are artificial neurons intended to work exactly like biological neurons?
No. Artificial neurons work differently from neurons in living organisms; an artificial neuron is a combination of mathematical functions.
Why can neural networks process real-world data if they operate on numbers?
Many real-world facts can be expressed numerically, so data can be represented as numbers for a neural network to process.
What is an artificial neuron’s basic operation?
It receives input data, passes it to an activation function, and returns the function’s result.
Why can activation functions differ between neurons?
They may be chosen differently depending on the input data or the neuron’s role.
What is a fully connected neural network?
A network in which each neuron sends its output to all neurons in the next layer.
What does “hidden layer” mean in a neural network?
Any layer other than the input layer that receives data or the output layer that returns the computation result.
How does a neuron’s input port connect to the network?
It connects either to an output port from the previous layer or to data entering the network.
What does a weight associated with an input port represent?
The importance assigned to that input when calculating the neuron’s output.
How does a neuron combine its weighted inputs before applying its activation function?
It adds the weighted input values to obtain a weighted sum.
What does it mean for a neural network to extract features from real-world data?
As data passes through the network, it is transformed into features that may or may not be useful information about the real world.
In the spam example, what three binary email features are used as inputs?
Whether the sender is blacklisted, whether the email contains the word “password,” and whether it has an “exe” attachment.
How are true-or-false inputs represented numerically in the spam example?
True is represented by 1 and false by 0.
What weights are assigned to the blacklist, “password,” and “exe attachment” inputs in the spam example?
0.5, 0.2, and 0.3, respectively.
What activation rule is used to classify an email as spam in the example?
Classify it as spam when the weighted input sum is greater than 0.5.
For a blacklisted sender, no “password” text, and an “exe” attachment, what is the weighted sum?
0.8.
How does the spam example classify an email with a weighted sum of 0.8?
As spam, because 0.8 is greater than the threshold of 0.5.
What numerical outputs does the spam activation rule return?
1 for spam and 0 otherwise.
Why is the spam detector only a simplified illustration of neural networks?
It uses only three binary inputs and a simple decision rule, whereas real neural networks often have many more inputs and layers.
What information could be extracted from an email to help detect spam?
Information such as the sender, receiver, and email text.
What kind of examples are used to train a supervised-learning neural network?
Pairs consisting of input data and the correct output or answer.
How is supervised learning compared to memorizing for a quiz?
Both involve learning associations between questions or inputs and their correct answers.
What happens when a supervised neural network receives an input during training?
It calculates an output through its activation functions, and that output may or may not be correct.
How does supervised learning use the correct answer to improve a model?
It compares the model’s output with the correct answer and changes weights so the model can produce a more similar output for that input.
What is “training” in a supervised neural network?
Changing the network’s internal weights based on errors so its outputs become closer to the correct answers.
What is the error in neural-network training?
The difference between the correct answer and the output returned by the model.
How is loss related to error in the lecture’s explanation?
Loss can be thought of as the square of the error; a larger error means a larger loss.
What is forward propagation?
Passing values through activation functions and onward through the network’s layers to produce an output.
What is back propagation in supervised neural-network training?
Using the loss to change weights in previous layers in the direction that reduces the loss.
What does differentiation help determine in back propagation?
How a change in one variable, such as a weight, relates to a change in another variable, such as loss.
What is the chain rule, and why is it useful in back propagation?
The chain rule expresses a derivative as a product of derivatives, allowing the relationship between a weight and loss to be found through intermediate quantities.
How can the derivative of loss with respect to a weight be decomposed for a single neuron?
∂w∂L=∂y∂L∂z∂y∂w∂z where L is loss, y is output, and z is the weighted sum.
What is the sigmoid function’s derivative when its output is y?
dzdy=y(1−y)
In a neuron using the sigmoid activation, what does the activation output represent?
The neuron’s output, often denoted y or f(z).
If a weighted sum is z=wx, what is its derivative with respect to the weight w?
∂w∂z=x
Using a sigmoid activation, what is the single-neuron expression for the loss derivative with respect to weight?
∂w∂L=∂y∂Ly(1−y)x
What is the gradient in the context of a weight–loss graph?
The slope of the tangent line to the loss curve at the current weight.
What does a positive gradient imply about the weight and loss?
Loss increases as the weight increases, so the weight should be decreased to reduce loss.
What does a negative gradient imply about the weight and loss?
Loss decreases as the weight increases, so the weight should be increased to reduce loss.
How is a weight commonly updated using its gradient?
wnew=wold−η∂w∂L where η is the learning rate.
What is the learning rate, and what properties or example value does the lecture give?
It is a positive value that controls the size of weight updates; it can be constant, such as 0.0005.
What happens to the size of weight updates when the learning rate is increased?
The weight changes become larger.
How does gradient-based weight updating reduce model error?
Weights are changed in the direction that decreases loss, which corresponds to reducing the model’s error.
How are weights in other neurons and layers updated?
In the same general way, using gradients calculated through the chain rule.
Why are GPUs used during neural-network training?
The number of gradient and weight calculations grows as the network gets larger, and GPUs help perform these calculations quickly.
What is one epoch of neural-network training?
Running back propagation across all neurons using all training data.
Why are neural networks usually trained for multiple epochs?
Weight updates are typically repeated over all training examples several times to complete training.
What relationship between dataset size and training epochs does the lecture suggest?
Generally, a larger amount of data can allow model training to be completed with fewer epochs.
What is inference in an artificial intelligence model?
Obtaining an output corresponding to an input.
How are prediction and inference related in neural networks?
Prediction is a type of inference; neural-network inference is also called forward propagation.
Do unsupervised-learning neural networks also train by reducing loss?
Yes. The lecture states that unsupervised-learning neural networks are also trained in the direction of reducing loss.
What is one high-level way to understand an artificial neural network?
As connected functions that split input into parts, weight those parts, and derive a numerical output or new information.
What kinds of deep-learning models may require substantial statistics or probability knowledge?
Models based on statistical or probabilistic algorithms.

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