Skip to Main Content
Hands-On Java Deep Learning for Computer Vision
book

Hands-On Java Deep Learning for Computer Vision

by Klevis Ramo
February 2019
Intermediate to advanced content levelIntermediate to advanced
260 pages
6h 3m
English
Packt Publishing
Content preview from Hands-On Java Deep Learning for Computer Vision

Effective training techniques

In this section, we will explore several techniques that help us to train the neural network quickly. We will look at techniques such as preprocessing the data to have a similar scale, to randomly initializing the weights to avoid exploding or vanishing gradients, and more effective activation functions besides the sigmoid function.

We begin with the normalization of the data and then we'll gain some intuition on how it works. Suppose we have two features, X1 and X2, taking a different range of values—X1 from 2 to 5, and X2 from 1 to 2—which is depicted in the following diagram:

We will begin by calculating the ...

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

Java Deep Learning Projects

Java Deep Learning Projects

Md. Rezaul Karim
Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres

Publisher Resources

ISBN: 9781789613964Supplemental Content