
Intelligent Mobile Projects with TensorFlow
Build 10+ Artificial Intelligence apps using TensorFlow Mobile and Lite for iOS, Android, and Raspberry Pi
- 404 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Intelligent Mobile Projects with TensorFlow
Build 10+ Artificial Intelligence apps using TensorFlow Mobile and Lite for iOS, Android, and Raspberry Pi
About this book
Create Deep Learning and Reinforcement Learning apps for multiple platforms with TensorFlowAbout This Book⢠Build TensorFlow-powered AI applications for mobile and embedded devices ⢠Learn modern AI topics such as computer vision, NLP, and deep reinforcement learning⢠Get practical insights and exclusive working code not available in the TensorFlow documentationWho This Book Is ForIf you're an iOS/Android developer interested in building and retraining others' TensorFlow models and running them in your mobile apps, or if you're a TensorFlow developer and want to run your new and amazing TensorFlow models on mobile devices, this book is for you. You'll also benefit from this book if you're interested in TensorFlow Lite, Core ML, or TensorFlow on Raspberry Pi.What You Will Learn⢠Classify images with transfer learning⢠Detect objects and their locations⢠Transform pictures with amazing art styles⢠Understand simple speech commands⢠Describe images in natural language⢠Recognize drawing with Convolutional Neural Network and Long Short-Term Memory⢠Predict stock price with Recurrent Neural Network in TensorFlow and Keras⢠Generate and enhance images with generative adversarial networks⢠Build AlphaZero-like mobile game app in TensorFlow and Keras⢠Use TensorFlow Lite and Core ML on mobile⢠Develop TensorFlow apps on Raspberry Pi that can move, see, listen, speak, and learnIn DetailAs a developer, you always need to keep an eye out and be ready for what will be trending soon, while also focusing on what's trending currently. So, what's better than learning about the integration of the best of both worlds, the present and the future? Artificial Intelligence (AI) is widely regarded as the next big thing after mobile, and Google's TensorFlow is the leading open source machine learning framework, the hottest branch of AI. This book covers more than 10 complete iOS, Android, and Raspberry Pi apps powered by TensorFlow and built from scratch, running all kinds of cool TensorFlow models offline on-device: from computer vision, speech and language processing to generative adversarial networks and AlphaZero-like deep reinforcement learning. You'll learn how to use or retrain existing TensorFlow models, build your own models, and develop intelligent mobile apps running those TensorFlow models. You'll learn how to quickly build such apps with step-by-step tutorials and how to avoid many pitfalls in the process with lots of hard-earned troubleshooting tips.Style and approachThis book takes a practical, project-based approach to teach specifics of mobile development with TensorFlow. Using a reader-friendly approach, this book will provide detailed instructions and also discuss the broader context covered within.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Building an AlphaZero-like Mobile Game App
- AlphaZero â how does it work?
- Building and training an AlphaZero-like model for Connect 4
- Using the model in iOS to play Connect 4
- Using the model in Android to play Connect 4
AlphaZero â how does it work?
- A deep convolutional neural network, which takes the board position (or state) as input and outputs a value as the predicted game result from the position and a policy that is a list of move probabilities for each possible action from the input board state.
- A general-purpose reinforcement learning algorithm, which learns via self-play from scratch with no specific domain knowledge except the game rules. The deep neural network's parameters are learned by self-play reinforcement learning to minimize the loss between the predicted value and the actual self-play game result, and maximize the similarity between the predicted policy and the search probabilities, which come from the following algorithm.
- A general-purpose (domain-independent) Monte-Carlo Tree Search (MCTS) algorithm, which simulates games of self-play from start to end, selecting each move during the simulation by considering the predicted value and policy probability values returned from the deep neural network, as well as how frequently a node has been visitedâoccasionally selecting a node with a low visit count is called exploration in reinforcement learning (versus taking the move with a high predicted value and policy, which is called exploitation). A nice balance between exploration and exploitation can lead to better results.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Foreword
- Contributors
- Preface
- Getting Started with Mobile TensorFlow
- Classifying Images with Transfer Learning
- Detecting Objects and Their Locations
- Transforming Pictures with Amazing Art Styles
- Understanding Simple Speech Commands
- Describing Images in Natural Language
- Recognizing Drawing with CNN and LSTM
- Predicting Stock Price with RNN
- Generating and Enhancing Images with GAN
- Building an AlphaZero-like Mobile Game App
- Using TensorFlow Lite and Core ML on Mobile
- Developing TensorFlow Apps on Raspberry Pi
- Other Books You May Enjoy