Reader small image

You're reading from  Java Deep Learning Essentials

Product typeBook
Published inMay 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781785282195
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Yusuke Sugomori
Yusuke Sugomori
author image
Yusuke Sugomori

Yusuke Sugomori is a creative technologist with a background in information engineering. When he was a graduate school student, he cofounded Gunosy with his colleagues, which uses machine learning and web-based data mining to determine individual users' respective interests and provides an optimized selection of daily news items based on those interests. This algorithm-based app has gained a lot of attention since its release and now has more than 10 million users. The company has been listed on the Tokyo Stock Exchange since April 28, 2015. In 2013, Sugomori joined Dentsu, the largest advertising company in Japan based on nonconsolidated gross profit in 2014, where he carried out a wide variety of digital advertising, smartphone app development, and big data analysis. He was also featured as one of eight "new generation" creators by the Japanese magazine Web Designing. In April 2016, he joined a medical start-up as cofounder and CTO.
Read more about Yusuke Sugomori

Right arrow

TensorFlow


TensorFlow is the library for machine learning and deep learning developed by Google. The project page is https://www.tensorflow.org/ and all the code is open to the public on GitHub at https://github.com/tensorflow/tensorflow. TensorFlow itself is written with C++, but it provides a Python and C++ API. We focus on Python implementations in this book. The installation can be done with pip, virtualenv, or docker. The installation guide is available at https://www.tensorflow.org/versions/master/get_started/os_setup.html. After the installation, you can import and use TensorFlow by writing the following code:

import tensorflow as tf

TensorFlow recommends you implement deep learning code with the following three parts:

  • inference(): This makes predictions using the given data, which defines the model structure

  • loss(): This returns the error values to be optimized

  • training(): This applies the actual training algorithms by computing gradients

We'll follow this guideline. A tutorial on...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Java Deep Learning Essentials
Published in: May 2016Publisher: PacktISBN-13: 9781785282195

Author (1)

author image
Yusuke Sugomori

Yusuke Sugomori is a creative technologist with a background in information engineering. When he was a graduate school student, he cofounded Gunosy with his colleagues, which uses machine learning and web-based data mining to determine individual users' respective interests and provides an optimized selection of daily news items based on those interests. This algorithm-based app has gained a lot of attention since its release and now has more than 10 million users. The company has been listed on the Tokyo Stock Exchange since April 28, 2015. In 2013, Sugomori joined Dentsu, the largest advertising company in Japan based on nonconsolidated gross profit in 2014, where he carried out a wide variety of digital advertising, smartphone app development, and big data analysis. He was also featured as one of eight "new generation" creators by the Japanese magazine Web Designing. In April 2016, he joined a medical start-up as cofounder and CTO.
Read more about Yusuke Sugomori