├── Chapter01 └── Chapter_1_End.unitypackage ├── Chapter02 ├── Chapter_2_Multiarm_Bandit.unitypackage ├── Chapter_2_Connected_Bandits.unitypackage └── Chapter_2_Contextual_Bandit.unitypackage ├── Chapter06 ├── Chapter_6_Terrarium_Final.unitypackage ├── Chapter_6_Terrarium_Carnivore.unitypackage └── Chapter_6_Terrarium_Herbivore.unitypackage ├── LICENSE └── README.md /Chapter01/Chapter_1_End.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-Unity-ML-Agents-Fundamentals-of-Unity-Machine-Learning/HEAD/Chapter01/Chapter_1_End.unitypackage -------------------------------------------------------------------------------- /Chapter02/Chapter_2_Multiarm_Bandit.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-Unity-ML-Agents-Fundamentals-of-Unity-Machine-Learning/HEAD/Chapter02/Chapter_2_Multiarm_Bandit.unitypackage -------------------------------------------------------------------------------- /Chapter06/Chapter_6_Terrarium_Final.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-Unity-ML-Agents-Fundamentals-of-Unity-Machine-Learning/HEAD/Chapter06/Chapter_6_Terrarium_Final.unitypackage -------------------------------------------------------------------------------- /Chapter02/Chapter_2_Connected_Bandits.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-Unity-ML-Agents-Fundamentals-of-Unity-Machine-Learning/HEAD/Chapter02/Chapter_2_Connected_Bandits.unitypackage -------------------------------------------------------------------------------- /Chapter02/Chapter_2_Contextual_Bandit.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-Unity-ML-Agents-Fundamentals-of-Unity-Machine-Learning/HEAD/Chapter02/Chapter_2_Contextual_Bandit.unitypackage -------------------------------------------------------------------------------- /Chapter06/Chapter_6_Terrarium_Carnivore.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-Unity-ML-Agents-Fundamentals-of-Unity-Machine-Learning/HEAD/Chapter06/Chapter_6_Terrarium_Carnivore.unitypackage -------------------------------------------------------------------------------- /Chapter06/Chapter_6_Terrarium_Herbivore.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Learn-Unity-ML-Agents-Fundamentals-of-Unity-Machine-Learning/HEAD/Chapter06/Chapter_6_Terrarium_Herbivore.unitypackage -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Packt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | # Learn Unity ML-Agents - Fundamentals of Unity Machine Learning 5 | 6 | Learn Unity ML-Agents – Fundamentals of Unity Machine Learning 7 | 8 | This is the code repository for [Learn Unity ML-Agents – Fundamentals of Unity Machine Learning](https://www.packtpub.com/game-development/learn-unity-ml-agents-%E2%80%93-fundamentals-unity-machine-learning?utm_source=github&utm_medium=repository&utm_campaign=9781789138139), published by Packt. 9 | 10 | **Incorporate new powerful ML algorithms such as Deep Reinforcement Learning for games** 11 | 12 | ## What is this book about? 13 | 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. 14 | 15 | This book covers the following exciting features: 16 | * Develop Reinforcement and Deep Reinforcement Learning for games. 17 | * Understand complex and advanced concepts of reinforcement learning and neural networks 18 | * Explore various training strategies for cooperative and competitive agent development 19 | * Adapt the basic script components of Academy, Agent, and Brain to be used with Q Learning. 20 | * Enhance the Q Learning model with improved training strategies such as Greedy-Epsilon exploration 21 | 22 | If you feel this book is for you, get your [copy](https://www.amazon.com/dp/1789138132) today! 23 | 24 | https://www.packtpub.com/ 26 | 27 | 28 | ## Instructions and Navigations 29 | All of the code is organized into folders. For example, Chapter02. 30 | 31 | The code will look like the following: 32 | ``` 33 | void Defend() 34 | { 35 | currentAction = "Defend"; 36 | nextAction = Time.timeSinceLevelLoad + (25 / MaxSpeed); 37 | } 38 | ``` 39 | 40 | **Following is what you need for this book:** 41 | This book is intended for developers with an interest in using Machine learning algorithms to develop better games and simulations with Unity. 42 | The reader will be required to have a working knowledge of C# and a basic understanding of Python. 43 | 44 | With the following software and hardware list you can run all code files present in the book (Chapter 1-6). 45 | 46 | ### Software and Hardware List 47 | 48 | | Chapter | Software required | OS required | 49 | | -------- | ------------------------------------| -----------------------------------| 50 | | 1 | Unity and ML-Agents | Windows, Mac OS X, and Linux (Any) | 51 | | 3 | Python (Anaconda) | Windows, Mac OS X, and Linux (Any) | 52 | 53 | 54 | 55 | We also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it](https://www.packtpub.com/sites/default/files/downloads/LearnUnityMLAgentsFundamentalsofUnityMachineLearning_ColorImages.pdf). 56 | 57 | ### Related products 58 | * Getting Started with Unity 2018 [[Packt]](https://www.packtpub.com/game-development/getting-started-unity-2018-third-edition?utm_source=github&utm_medium=repository&utm_campaign=9781788830102) [[Amazon]](https://www.amazon.com/dp/1788830105) 59 | 60 | * Unity Virtual Reality Projects [[Packt]](https://www.packtpub.com/game-development/unity-virtual-reality-projects-second-edition?utm_source=github&utm_medium=repository&utm_campaign=9781788478809) [[Amazon]](https://www.amazon.com/dp/1788478800) 61 | 62 | ## Get to Know the Author 63 | **Micheal Lanham** 64 | Micheal Lanham is a proven software architect with 20 years' experience of developing a range of software, including games, mobile, graphic, web, desktop, engineering, GIS, and machine learning applications for various industries. In 2000, Micheal began working with machine learning and would later use various technologies for a broad range of apps, from geomechanics to inspecting pipelines in 3D. He was later introduced to Unity and has been an avid developer and author of multiple Unity apps and books since. 65 | 66 | 67 | ## Other books by the authors 68 | * [Augmented Reality Game Development](https://www.packtpub.com/application-development/augmented-reality-game-development?utm_source=github&utm_medium=repository&utm_campaign=9781787122888) 69 | * [Game Audio Development with Unity 5.X](https://www.packtpub.com/game-development/game-audio-development-unity-5x?utm_source=github&utm_medium=repository&utm_campaign=9781787286450) 70 | * [Learn ARCore - Fundamentals of Google ARCore](https://www.packtpub.com/application-development/learn-arcore-fundamentals-google-arcore?utm_source=github&utm_medium=repository&utm_campaign=9781788830409) 71 | 72 | ### Suggestions and Feedback 73 | [Click here](https://docs.google.com/forms/d/e/1FAIpQLSdy7dATC6QmEL81FIUuymZ0Wy9vH1jHkvpY57OiMeKGqib_Ow/viewform) if you have any feedback or suggestions. 74 | ### Download a free PDF 75 | 76 | If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.
77 |

https://packt.link/free-ebook/9781789138139

--------------------------------------------------------------------------------