---
title: "Live Session - Getting Started with Machine Learning in Unity"
content_type: tutorial
url: "https://learn.unity.com/tutorial/live-session-getting-started-with-machine-learning-in-unity?language=en"
language: en
difficulty: beginner
duration_minutes: 60
unity_version:
  - "2019.4"
  - "2019.3"
supported_unity_versions:
  - name: "2019.4"
    url: "https://learn.unity.com/tutorial/live-session-getting-started-with-machine-learning-in-unity.md?language=en&version=2019.4"
  - name: "2019.3"
    url: "https://learn.unity.com/tutorial/live-session-getting-started-with-machine-learning-in-unity.md?language=en&version=2019.3"
available_languages:
  - name: "en"
    url: "https://learn.unity.com/tutorial/live-session-getting-started-with-machine-learning-in-unity.md?language=en"
  - name: "ja"
    url: "https://learn.unity.com/tutorial/live-session-getting-started-with-machine-learning-in-unity-jp.md?language=ja"
last_updated: "2026-08-04T14:21:32.000Z"
---

# Live Session - Getting Started with Machine Learning in Unity

In this recording of the live session, you'll learn how to create a machine learning experience that has a basic input (one or two dimensional vector observation), an obvious reward, and simple reset state. Throughout the session, learners will be able to:

- Define Machine Learning
- Discuss how ML differs from and works with Artificial Intelligence
- Identify observations for an ML agent to make in a given Scene
- Identify ways to reward the ML agent that will reinforce desired behavior
- Script the ML Agent to collect observations about conditions in the scene and calculate rewards accordingly
- Script the ML Agent to change behavior based on rewards received

## Materials

- [MLAgentsLiveSessionAssets.zip](https://unity-connect-prd.storage.googleapis.com/20201014/017a3c7c-8e79-403c-a60b-f86b79b8468a/MLAgentsLiveSessionAssets.zip)
- [MachineLearning_LiveSession_TrainTheAgent.JPG](https://unity-connect-prd.storage.googleapis.com/20201020/903fa548-382b-4723-a992-951a5d5feffd/MachineLearning_LiveSession_TrainTheAgent.JPG)

## 1. Live Session Recording - October 20, 2020

[Video](https://connect-mediagw.unity.com/h1/20201020/videos/d55fc2c0-ec79-4a19-a6e6-5e653eed383d_GMT20201020_164529_Getting_St_1920x1080.mp4)

Download the screenshot of challenge #4 from the Slides [here](https://connect-prd-cdn.unity.com/20201020/903fa548-382b-4723-a992-951a5d5feffd/MachineLearning_LiveSession_TrainTheAgent.JPG?_ga=2.165281215.1013496279.1603121820-2132955607.1595345620).

## 2. Share your project!

> **Submission required**: media

We would love to see what you were able to create after learning about Machine Learning! Please take a screenshot of your project or do a screen-recording walking us through it, then post it here to share your creation.
