Q. In the context of neural networks, what is 'overfitting'?
-
A.
When the model performs well on training data but poorly on unseen data
-
B.
When the model has too few parameters
-
C.
When the model is too simple to capture the data patterns
-
D.
When the model converges too quickly
Solution
Overfitting occurs when a model learns the training data too well, including noise, leading to poor generalization on new data.
Correct Answer:
A
— When the model performs well on training data but poorly on unseen data
Learn More →
Q. What is the primary advantage of using convolutional neural networks (CNNs) for image processing?
-
A.
They require less data
-
B.
They can capture spatial hierarchies
-
C.
They are easier to train
-
D.
They use fewer parameters
Solution
CNNs are designed to capture spatial hierarchies in images, making them highly effective for image processing tasks.
Correct Answer:
B
— They can capture spatial hierarchies
Learn More →
Q. What is the primary function of the activation function in a neural network?
-
A.
To initialize weights
-
B.
To introduce non-linearity
-
C.
To optimize the learning rate
-
D.
To reduce overfitting
Solution
The activation function introduces non-linearity into the model, allowing it to learn complex patterns.
Correct Answer:
B
— To introduce non-linearity
Learn More →
Q. What is the purpose of the loss function in a neural network?
-
A.
To measure the accuracy of the model
-
B.
To quantify the difference between predicted and actual outputs
-
C.
To optimize the learning rate
-
D.
To determine the number of layers
Solution
The loss function quantifies how well the neural network's predictions match the actual target values.
Correct Answer:
B
— To quantify the difference between predicted and actual outputs
Learn More →
Q. What is the role of the optimizer in training a neural network?
-
A.
To select the activation function
-
B.
To adjust the weights based on the loss function
-
C.
To determine the architecture of the network
-
D.
To preprocess the input data
Solution
The optimizer adjusts the weights of the network based on the gradients calculated from the loss function.
Correct Answer:
B
— To adjust the weights based on the loss function
Learn More →
Q. Which of the following is a common method for evaluating the performance of a neural network?
-
A.
Confusion matrix
-
B.
Gradient descent
-
C.
Batch normalization
-
D.
Dropout
Solution
A confusion matrix is used to evaluate the performance of a classification model by showing true vs. predicted classifications.
Correct Answer:
A
— Confusion matrix
Learn More →
Q. Which of the following optimizers is known for adapting the learning rate during training?
-
A.
SGD
-
B.
Adam
-
C.
RMSprop
-
D.
Adagrad
Solution
Adam (Adaptive Moment Estimation) adapts the learning rate based on the first and second moments of the gradients.
Correct Answer:
B
— Adam
Learn More →
Q. Which of the following techniques is commonly used to prevent overfitting in neural networks?
-
A.
Increasing the learning rate
-
B.
Using dropout
-
C.
Reducing the number of layers
-
D.
Using a linear activation function
Solution
Dropout is a regularization technique that randomly sets a fraction of the neurons to zero during training to prevent overfitting.
Correct Answer:
B
— Using dropout
Learn More →
Showing 1 to 8 of 8 (1 Pages)