Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Artificial Intelligence By Example

You're reading from   Artificial Intelligence By Example Develop machine intelligence from scratch using real artificial intelligence use cases

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788990547
Length 490 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Denis Rothman Denis Rothman
Author Profile Icon Denis Rothman
Denis Rothman
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Become an Adaptive Thinker 2. Think like a Machine FREE CHAPTER 3. Apply Machine Thinking to a Human Problem 4. Become an Unconventional Innovator 5. Manage the Power of Machine Learning and Deep Learning 6. Don't Get Lost in Techniques – Focus on Optimizing Your Solutions 7. When and How to Use Artificial Intelligence 8. Revolutions Designed for Some Corporations and Disruptive Innovations for Small to Large Companies 9. Getting Your Neurons to Work 10. Applying Biomimicking to Artificial Intelligence 11. Conceptual Representation Learning 12. Automated Planning and Scheduling 13. AI and the Internet of Things (IoT) 14. Optimizing Blockchains with AI 15. Cognitive NLP Chatbots 16. Improve the Emotional Intelligence Deficiencies of Chatbots 17. Quantum Computers That Think 18. Answers to the Questions

RNN for data augmentation

An RNN models sequences, in this case, words. It analyzes anything in a sequence, including images. To speed the mind-dataset process up, data augmentation can be applied here exactly as it is to images in other models. In this case, an RNN will be applied to words.

A first look at its graph data flow structure shows that an RNN is a neural network like the others previously explored. The following graphs were obtained by first running LSTM.py and then Tensorboard_reader.py:

Data flow structure

The y inputs (test data) go to the loss function (Loss_train) . The x inputs (training data) will be transformed through weights and biases into logits with a softmax function. A zoom into the RNN area of the graph shows the following basic_lstm cell:

basic_lstm cell—RNN area of the graph

What makes an RNN special is to be found in the LSTM cell.

...
lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime