TensorFlow Machine Learning Projects
eBook - ePub

TensorFlow Machine Learning Projects

Build 13 real-world projects with advanced numerical computations using the Python ecosystem

Ankit Jain, Armando Fandango, Amita Kapoor

  1. 322 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

TensorFlow Machine Learning Projects

Build 13 real-world projects with advanced numerical computations using the Python ecosystem

Ankit Jain, Armando Fandango, Amita Kapoor

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

Implement TensorFlow's offerings such as TensorBoard, TensorFlow.js, TensorFlow Probability, and TensorFlow Lite to build smart automation projects

Key Features

  • Use machine learning and deep learning principles to build real-world projects
  • Get to grips with TensorFlow's impressive range of module offerings
  • Implement projects on GANs, reinforcement learning, and capsule network

Book Description

TensorFlow has transformed the way machine learning is perceived. TensorFlow Machine Learning Projects teaches you how to exploit the benefits—simplicity, efficiency, and flexibility—of using TensorFlow in various real-world projects. With the help of this book, you'll not only learn how to build advanced projects using different datasets but also be able to tackle common challenges using a range of libraries from the TensorFlow ecosystem.

To start with, you'll get to grips with using TensorFlow for machine learning projects; you'll explore a wide range of projects using TensorForest and TensorBoard for detecting exoplanets, TensorFlow.js for sentiment analysis, and TensorFlow Lite for digit classification.

As you make your way through the book, you'll build projects in various real-world domains, incorporating natural language processing (NLP), the Gaussian process, autoencoders, recommender systems, and Bayesian neural networks, along with trending areas such as Generative Adversarial Networks (GANs), capsule networks, and reinforcement learning. You'll learn how to use the TensorFlow on Spark API and GPU-accelerated computing with TensorFlow to detect objects, followed by how to train and develop a recurrent neural network (RNN) model to generate book scripts.

By the end of this book, you'll have gained the required expertise to build full-fledged machine learning projects at work.

What you will learn

  • Understand the TensorFlow ecosystem using various datasets and techniques
  • Create recommendation systems for quality product recommendations
  • Build projects using CNNs, NLP, and Bayesian neural networks
  • Play Pac-Man using deep reinforcement learning
  • Deploy scalable TensorFlow-based machine learning systems
  • Generate your own book script using RNNs

Who this book is for

TensorFlow Machine Learning Projects is for you if you are a data analyst, data scientist, machine learning professional, or deep learning enthusiast with basic knowledge of TensorFlow. This book is also for you if you want to build end-to-end projects in the machine learning domain using supervised, unsupervised, and reinforcement learning techniques

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist TensorFlow Machine Learning Projects als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu TensorFlow Machine Learning Projects von Ankit Jain, Armando Fandango, Amita Kapoor im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Neural Networks. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2018
ISBN
9781789132403

Classifying Clothing Images using Capsule Networks

In this chapter, we will learn how to implement capsule networks on the Fashion MNIST dataset. This chapter will cover the inner workings of capsule networks and explain how to implement them in TensorFlow. You will also learn how to evaluate and optimize the model.
We have chosen capsule networks because they have the ability to preserve the spatial relationships of images. Capsule networks were introduced by Geoff Hinton, et al. They published a paper in 2017 that can be found at https://arxiv.org/abs/1710.09829. Capsule networks gained immense popularity within the deep learning community as a new type of neural network.
By the end of this chapter, we will be able to classify clothing using capsule networks after going through the following:
  • Understanding the importance of capsule networks
  • A brief understanding of capsules
  • The routing by agreement algorithm
  • The implementation of the CapsNet architecture for classifying Fashion-MNIST images
  • The limitations of capsule networks

Understanding the importance of capsule networks

Convolutional neural networks (CNNs) form the backbone of all the major breakthroughs in image detection today. CNNs work by detecting the basic features that are present in the lower layers of the network and then proceed to detect the higher level features present in the higher layers of the network. This setup does not contain a pose (translational and rotational) relationship between the lower-level features that make up any complex object.
Imagine trying to identify a face. In this case, just having eyes, nose, and ears in an image can lead a CNN to conclude that it's a face without caring about the relative orientation of the concerned objects. To explain this further, if an image has a nose above the eyes, CNNs still can detect that it's an image. CNNs take care of this problem by using max pooling, which helps increase the field of view for the higher layers. However, this operation is not a perfect solution as we tend to lose valuable information in the image by using it.
As a matter of fact, Hinton himself states the following:
"The pooling operation used in convolutional neural networks is a big mistake and the fact that it works so well is a disaster."
In the paper, Hinton tries to provide an intuition on solving this problem using the inverse graphics approach. For graphics in computers, an image is constructed by using an internal representation of the objects present in the image. This is done using arrays and matrices. This internal representation helps preserve the shape, the orientation, and the object's relative position when compared to all other objects in the image. The software takes this internal representation and publishes the image on the screen using a process known as rendering.
Hinton specifies that the human brain does some sort of inverse graphics. We see an image through our eyes, and then brain our dissects the image and constructs a hierarchical representation of different objects in the image before trying to match them to the existing patterns that we have seen. An interesting observation to note is that humans can identify objects in an image, irrespective of their viewing angle.
He then proceeds to argue that in order to perform classification, it is necessary to preserve the relative orientation and position of different objects in the image (this helps mimic the human capability, as we discussed previously). It's quite intuitive that...

Inhaltsverzeichnis

  1. Title Page
  2. Copyright and Credits
  3. Dedication
  4. About Packt
  5. Contributors
  6. Preface
  7. Overview of TensorFlow and Machine Learning
  8. Using Machine Learning to Detect Exoplanets in Outer Space
  9. Sentiment Analysis in Your Browser Using TensorFlow.js
  10. Digit Classification Using TensorFlow Lite
  11. Speech to Text and Topic Extraction Using NLP
  12. Predicting Stock Prices using Gaussian Process Regression
  13. Credit Card Fraud Detection using Autoencoders
  14. Generating Uncertainty in Traffic Signs Classifier Using Bayesian Neural Networks
  15. Generating Matching Shoe Bags from Shoe Images Using DiscoGANs
  16. Classifying Clothing Images using Capsule Networks
  17. Making Quality Product Recommendations Using TensorFlow
  18. Object Detection at a Large Scale with TensorFlow
  19. Generating Book Scripts Using LSTMs
  20. Playing Pacman Using Deep Reinforcement Learning
  21. What is Next?
  22. Other Books You May Enjoy
Zitierstile für TensorFlow Machine Learning Projects

APA 6 Citation

Jain, A., Fandango, A., & Kapoor, A. (2018). TensorFlow Machine Learning Projects (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/859042/tensorflow-machine-learning-projects-build-13-realworld-projects-with-advanced-numerical-computations-using-the-python-ecosystem-pdf (Original work published 2018)

Chicago Citation

Jain, Ankit, Armando Fandango, and Amita Kapoor. (2018) 2018. TensorFlow Machine Learning Projects. 1st ed. Packt Publishing. https://www.perlego.com/book/859042/tensorflow-machine-learning-projects-build-13-realworld-projects-with-advanced-numerical-computations-using-the-python-ecosystem-pdf.

Harvard Citation

Jain, A., Fandango, A. and Kapoor, A. (2018) TensorFlow Machine Learning Projects. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/859042/tensorflow-machine-learning-projects-build-13-realworld-projects-with-advanced-numerical-computations-using-the-python-ecosystem-pdf (Accessed: 14 October 2022).

MLA 7 Citation

Jain, Ankit, Armando Fandango, and Amita Kapoor. TensorFlow Machine Learning Projects. 1st ed. Packt Publishing, 2018. Web. 14 Oct. 2022.