Skip to Content
Mastering Computer Vision with TensorFlow 2.x
book

Mastering Computer Vision with TensorFlow 2.x

by Krishnendu Kar
May 2020
Beginner to intermediate
430 pages
10h 39m
English
Packt Publishing
Content preview from Mastering Computer Vision with TensorFlow 2.x

Regularization

Regularization is a technique that's used to reduce overfitting. It does this by adding an additional term to the model error function (model output trained value) to prevent the model weight parameters from taking extreme values during training. Three types of regularization are used in CNNs:

  • L1 regularization: For each model weight, w, an additional parameter, λ|w|, is added to the model objective. This regularization makes the weight factor sparse (close to zero) during optimization.
  • L2 regularization: For each model weight, w, an additional parameter, 1/2λ w2, is added to the model objective. This regularization makes the weight factor diffused during optimization. L2 regularizations can be expected to give superior ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres

Publisher Resources

ISBN: 9781838827069Supplemental Content