Book description
Transform games into environments using machine learning and Deep learning with Tensorflow, Keras, and Unity
About This Book- Learn how to apply core machine learning concepts to your games with Unity
- Learn the Fundamentals of Reinforcement Learning and Q-Learning and apply them to your games
- Learn How to build multiple asynchronous agents and run them in a training scenario
This book is intended for developers with an interest in using Machine learning algorithms to develop better games and simulations with Unity.
The reader will be required to have a working knowledge of C# and a basic understanding of Python.
What You Will Learn- Develop Reinforcement and Deep Reinforcement Learning for games.
- Understand complex and advanced concepts of reinforcement learning and neural networks
- Explore various training strategies for cooperative and competitive agent development
- Adapt the basic script components of Academy, Agent, and Brain to be used with Q Learning.
- Enhance the Q Learning model with improved training strategies such as Greedy-Epsilon exploration
- Implement a simple NN with Keras and use it as an external brain in Unity
- Understand how to add LTSM blocks to an existing DQN
- Build multiple asynchronous agents and run them in a training scenario
Unity Machine Learning agents allow researchers and developers to create games and simulations using the Unity Editor, which serves as an environment where intelligent agents can be trained with machine learning methods through a simple-to-use Python API.
This book takes you from the basics of Reinforcement and Q Learning to building Deep Recurrent Q-Network agents that cooperate or compete in a multi-agent ecosystem. You will start with the basics of Reinforcement Learning and how to apply it to problems. Then you will learn how to build self-learning advanced neural networks with Python and Keras/TensorFlow. From there you move o n to more advanced training scenarios where you will learn further innovative ways to train your network with A3C, imitation, and curriculum learning models. By the end of the book, you will have learned how to build more complex environments by building a cooperative and competitive multi-agent ecosystem.
Style and approachThis book focuses on the foundations of ML, RL and DL for building agents in a game or simulation
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Preface
- Introducing Machine Learning and ML-Agents
- The Bandit and Reinforcement Learning
- Deep Reinforcement Learning with Python
- Going Deeper with Deep Learning
- Playing the Game
- Terrarium Revisited – A Multi-Agent Ecosystem
- Other Books You May Enjoy
Product information
- Title: Learn Unity ML-Agents - Fundamentals of Unity Machine Learning
- Author(s):
- Release date: June 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789138139
You might also like
book
Deep Reinforcement Learning in Unity: With Unity ML Toolkit
Gain an in-depth overview of reinforcement learning for autonomous agents in game development with Unity. This …
book
Introduction to Unity ML-Agents: Understand the Interplay of Neural Networks and Simulation Space Using the Unity ML-Agents Package
Demystify the creation of efficient AI systems using the model-based reinforcement learning Unity ML-Agents - a …
video
Unity C# Scripting — Complete C# for Unity Game Development
Unity is free, easy to learn, has excellent documentation, and is the game engine used to …
book
Beginning Game AI with Unity: Programming Artificial Intelligence with C#
Game developers will use this book to gain a basic knowledge of programming artificial intelligence using …