Practical aspects of Deep Learning
See Github for the code
1
If you have 10,000,000 examples, how would you split the train/dev/test set?
60% train . 20% dev . 20% test
98% train. 1% dev. 1% test correct
33% train . 33% dev . 33% test
2
The dev and test set should:
Come from the same distribution correct
Come from different distributions
Be identical to each other (same (x,y) pairs)
Have the same number of examples
3
If your Neural Network model seems to have high variance, what of the following would be promising things to try?
Get more test data Unselected is correct
The Add regularization right
Make the Neural Network deeper
Get more training data correct
Increase the number of units in each hidden layer unselected is correct
4
You are working on an automated check-out kiosk for a supermarket, and are building a classifier for apples, S58: Bananas and oranges. Suppose your classifier s46 a training set error of 0.5%, and a dev set error of 7%. Which of the following are promising things to try to improve your classifier? (Check all that apply.)
Increase the regularization parameter lambda correctly
Decrease the regularization parameter lambda is correct
Get more training data correct
Use a bigger neural network unselected is correct
5
What is weight decay?
A regularization technique (such as L2 regularization) that results in gradient descent shrinking the weights on every iteration. correct
A technique to avoid vanishing gradient by imposing a ceiling on the values of the weights.
Gradual corruption of the weights in the neural network if it is trained on noisy data.
The process of gradually decreasing the learning rate during training.
6
What happens when you increase the regularization hyperparameter lambda?
Weights are pushed toward becoming smaller (closer to 0) correct
Weights are pushed toward becoming bigger (further from 0)
Doubling lambda should roughly result in doubling the weights
Gradient descent taking bigger steps with each iteration (proportional to lambda)
7
ith the inverted dropout technique, at test time:
You do not apply dropout (do not randomly eliminate units), but keep the 1/keep_prob factor in the calculations used in training.
You apply dropout (randomly eliminating units) and do not keep the 1/keep_prob factor in the calculations used in training
correct
You apply dropout (randomly eliminating units) but keep the 1/keep_prob factor in the calculations used in training.
You do not apply dropout (do not randomly eliminate units) and do not keep the 1/keep_prob factor in the calculations used in training
8
Increasing the parameter keep_prob from (say) 0.5 to 0.6 will likely cause the following: (Check the two that apply)
The Increasing the regularization effect is correct
Reducing the regularization effect is correct
Causing the neural network to end up with a higher training set error is correct
Causing the neural network to end up with a lower training set error
9
Which of these techniques are useful for reducing variance (reducing overfitting)? (Check all that apply.)
Data augmentation right
What the Exploding gradient didn’t choose was correct
L2 regularization right
What is not Gradient Checking is correct
What Xavier Initialization didn’t choose was right
Dropout right
What Vanishing gradient does not choose is correct
10
Why do we normalize the inputs x?
It makes the parameter initialization faster
It makes it easier to visualize the data
It makes the cost function faster to optimize
Normalization is another word for regularization–It helps to reduce variance