Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
TensorFlow 2.0 Quick Start Guide

You're reading from  TensorFlow 2.0 Quick Start Guide

Product type Book
Published in Mar 2019
Publisher Packt
ISBN-13 9781789530759
Pages 196 pages
Edition 1st Edition
Languages
Author (1):
Tony Holdroyd Tony Holdroyd
Profile icon Tony Holdroyd

Table of Contents (15) Chapters

Preface 1. Section 1: Introduction to TensorFlow 2.00 Alpha
2. Introducing TensorFlow 2 3. Keras, a High-Level API for TensorFlow 2 4. ANN Technologies Using TensorFlow 2 5. Section 2: Supervised and Unsupervised Learning in TensorFlow 2.00 Alpha
6. Supervised Machine Learning Using TensorFlow 2 7. Unsupervised Learning Using TensorFlow 2 8. Section 3: Neural Network Applications of TensorFlow 2.00 Alpha
9. Recognizing Images with TensorFlow 2 10. Neural Style Transfer Using TensorFlow 2 11. Recurrent Neural Networks Using TensorFlow 2 12. TensorFlow Estimators and TensorFlow Hub 13. Converting from tf1.12 to tf2
14. Other Books You May Enjoy

Unsupervised Learning Using TensorFlow 2

In this chapter, we will investigate unsupervised learning using TensorFlow 2. The object of unsupervised learning is to find patterns or relationships in data in which the data points have not been previously labeled; hence, we have only features. This contrasts with supervised learning, where we are supplied with both features and their labels, and we want to predict the labels of new, previously unseen features. In unsupervised learning, we want to find out whether there is an underlying structure to our data. For example, can it be grouped or organized in any way without any prior knowledge of its structure? This is known as clustering. For example, Amazon uses unsupervised learning in its recommendation system to make suggestions as to what you might like to buy in the way of books, say, by identifying genre clusters in your previous...

Autoencoders

Autoencoding is a data compression and decompression algorithm implemented with an ANN. Since it is an unsupervised form of a learning algorithm, we know that only unlabeled data is required. The way it works is we generate a compressed version of the input by forcing it through a bottleneck, that is, a layer or layers that are less wide than the original input. To reconstruct the input, that is, decompress, we reverse the process. We use backpropagation to both create the representation of the input in the intermediate layer(s), and recreate the input as the output from the representation.

Autoencoding is lossy, that is, the decompressed output will be degraded in comparison to the original input. This is a similar situation to the MP3 and JPEG compression formats.

Autoencoding is data-specific, that is, only data that is similar to that which they have been trained...

Summary

In this chapter, we looked at two applications of autoencoders in unsupervised learning: firstly for compressing data, and secondly for denoising, meaning the removal of noise from images.

In the next chapter, we will look at how neural networks are used in image processing and identification.

lock icon The rest of the chapter is locked
You have been reading a chapter from
TensorFlow 2.0 Quick Start Guide
Published in: Mar 2019 Publisher: Packt ISBN-13: 9781789530759
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}