[Google_Bootcamp_Day6]

Updated:

Train/dev/test set

1

Mismatched train/test distribution (real life)

2

  • Make sure that dev and test sets come from the same distribution

Bias and Variance

3 4

Basic recipe for machine learning

  • Check “high bias” (training set performance)
    • Try bigger network
    • Try to train longer
    • Try different nerual network architecture
  • Check “high variance” (dev set performance)
    • Try to use more data
    • Try regularization
    • Try different neural network architecture

Regularization

  • Logistic regression 5

  • Neural network 6

How doe regularization prevent overfitting

regul

Dropout regularization

drop_1 drop_2

  • No dropout when making predictions at test time

Why dropout work

reason

Downside and solution

  • Downside
    • not well defined cost function so that it is hard to check downhill plot of cost function
  • Solution
    • Turn off dropout and check downhill plotting
    • Then turn on dropout

Other regularization methods

  • Data Augmentation aug

  • Early Stopping early

[Source] https://www.coursera.org/learn/deep-neural-network

Categories:

Updated:

Leave a comment