万本电子书0元读

万本电子书0元读

顶部广告

Learn Unity ML-Agents – Fundamentals of Unity Machine Learning电子书

售       价:¥

8人正在读 | 0人评论 6.2

作       者:Micheal Lanham

出  版  社:Packt Publishing

出版时间:2018-06-30

字       数:21.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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 Who This Book Is For 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 In Detail 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 approach This book focuses on the foundations of ML, RL and DL for building agents in a game or simulation
目录展开

Title Page

Copyright and Credits

Learn Unity ML - Agents - Fundamentals of Unity Machine Learning

Dedication

Packt Upsell

Why subscribe?

PacktPub.com

Contributors

About the author

About the reviewers

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

Introducing Machine Learning and ML-Agents

Machine Learning

Training models

A Machine Learning example

ML uses in gaming

ML-Agents

Running a sample

Setting the agent Brain

Creating an environment

Renaming the scripts

Academy, Agent, and Brain

Setting up the Academy

Setting up the Agent

Setting up the Brain

Exercises

Summary

The Bandit and Reinforcement Learning

Reinforcement Learning

Configuring the Agent

Contextual bandits and state

Building the contextual bandits

Creating the ContextualDecision script

Updating the Agent

Exploration and exploitation

Making decisions with SimpleDecision

MDP and the Bellman equation

Q-Learning and connected agents

Looking at the Q-Learning ConnectedDecision script

Exercises

Summary

Deep Reinforcement Learning with Python

Installing Python and tools

Installation

Mac/Linux installation

Windows installation

Docker installation

GPU installation

Testing the install

ML-Agents external brains

Running the environment

Neural network foundations

But what does it do?

Deep Q-learning

Building the deep network

Training the model

Exploring the tensor

Proximal policy optimization

Implementing PPO

Understanding training statistics with TensorBoard

Exercises

Summary

Going Deeper with Deep Learning

Agent training problems

When training goes wrong

Fixing sparse rewards

Fixing the observation of state

Convolutional neural networks

Experience replay

Building on experience

Partial observability, memory, and recurrent networks

Partial observability

Memory and recurrent networks

Asynchronous actor – critic training

Multiple asynchronous agent training

Exercises

Summary

Playing the Game

Multi-agent environments

Adversarial self-play

Using internal brains

Using trained brains internally

Decisions and On-Demand Decision Making

The Bouncing Banana

Imitation learning

Setting up a cloning behavior trainer

Curriculum Learning

Exercises

Summary

Terrarium Revisited – A Multi-Agent Ecosystem

What was/is Terrarium?

Building the Agent ecosystem

Importing Unity assets

Building the environment

Basic Terrarium – Plants and Herbivores

Herbivores to the rescue

Building the herbivore

Training the herbivore

Carnivore: the hunter

Building the carnivore

Training the carnivore

Next steps

Exercises

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部