Neural Network Flashcards

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Neural Network?

A

A computational model inspired by the human brain that consists of interconnected layers of nodes (neurons).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Deep Learning?

A

A subset of machine learning that uses deep neural networks with multiple layers for complex pattern recognition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why has Deep Learning become popular now?

A

Better algorithms, increased computing power (GPUs, TPUs), and availability of large labeled datasets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the main components of a Neural Network?

A

Input layer, hidden layers, output layer, weights, biases, and activation functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the role of the Input Layer?

A

Receives raw data for processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are Hidden Layers?

A

Intermediate layers between input and output that perform feature extraction and transformations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the role of the Output Layer?

A

Produces final predictions or classifications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a weighted sum in a neural unit?

A

A combination of inputs multiplied by their respective weights plus a bias term.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the formula for a weighted sum in a neural unit?

A

Z = b + Σ(wi * xi), where Z is the weighted sum, wi are weights, xi are inputs, and b is the bias.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an activation function?

A

A mathematical function that introduces non-linearity into the neural network, allowing it to learn complex patterns.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Sigmoid activation function?

A

A function that maps input values to the range [0,1], useful for binary classification.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the formula for the Sigmoid function?

A

y = 1 / (1 + e^(-z)).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the Tanh activation function?

A

A function similar to Sigmoid but outputs values in the range [-1,1], providing better gradient flow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the ReLU activation function?

A

A function that outputs x if x > 0, otherwise outputs 0, helping mitigate the vanishing gradient problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a Feedforward Neural Network?

A

A neural network where connections move in one direction from input to output without cycles.

17
Q

What is a Multi-Layer Perceptron (MLP)?

A

A type of feedforward neural network with one or more hidden layers.

18
Q

What is the Loss Function?

A

A function that quantifies how well the neural network’s predictions match the actual values.

19
Q

What is Gradient Descent?

A

An optimization algorithm used to adjust weights by minimizing the loss function.

20
Q

What is Backpropagation?

A

A process where gradients are calculated using the chain rule and propagated backward to update weights.

21
Q

What is the Vanishing Gradient Problem?

A

A situation where small gradients cause slow or no learning in deep networks, especially with Sigmoid activation.

22
Q

What is a Convolutional Neural Network (CNN)?

A

A neural network specialized for processing image data by using convolutional layers.

23
Q

What is a Recurrent Neural Network (RNN)?

A

A neural network designed for sequence-based data, where past information is retained in hidden states.

24
Q

What is Long Short-Term Memory (LSTM)?

A

A type of RNN designed to overcome the vanishing gradient problem and remember long-term dependencies.

25
Q

What are common applications of Neural Networks?

A

Speech-to-text, image recognition, natural language processing, and generative models.

26
Q

What is Sentiment Analysis using Neural Networks?

A

A classification task where a neural network predicts whether a text expresses positive or negative sentiment.

27
Q

What is the role of embeddings in neural networks?

A

They represent words or features in dense vector space, improving learning in NLP tasks.

28
Q

What is the Softmax function?

A

A function that converts logits into probabilities for multi-class classification tasks.

29
Q

What is Cross-Entropy Loss?

A

A loss function used in classification tasks to measure the difference between predicted probabilities and true labels.

30
Q

What is Overfitting in Neural Networks?

A

When a model performs well on training data but poorly on unseen data.

31
Q

How can Overfitting be prevented?

A

Using regularization techniques such as dropout, L2 regularization, and data augmentation.