Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn Unity ML-Agents ??? Fundamentals of Unity Machine Learning

You're reading from  Learn Unity ML-Agents ??? Fundamentals of Unity Machine Learning

Product type Book
Published in Jun 2018
Publisher Packt
ISBN-13 9781789138139
Pages 204 pages
Edition 1st Edition
Languages

Imitation learning

Imitation learning is a cool training technique that we can use to train agents by example. This has tremendous benefits in complex training scenarios with repetitive actions. Games like Pong or Tennis are very good candidates for this type of training since the game action is repetitive. Since the agent is learning by example, the need for random search actions or exploration is eliminated and training performance improves dramatically. Unity has a Tennis example that makes a good candidate to demonstrate this type of training. Let's jump to the next exercise where we set up imitation learning:

  1. Open the Tennis scene located in the Assets/ML-Agents/Examples/Tennis folder.
  2. Locate the Agent brain object in the Hierarchy. Rename the object Student. Set the Brain Type to External.
  3. Select the Player brain object and rename it Teacher. Set the Brain Type to...
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 $15.99/month. Cancel anytime}