Challenge 1: Observations
Tutorial
·
intermediate
·
+10XP
·
30 mins
·
(814)
Unity Technologies

In this tutorial you will be challenged to think of observations your agent can make about the world around it in an effort to learn about that world.
1. Challenge 1: Observations
Take some time to think about what our hummingbird agent might need to observe in order to successfully drink from a flower. Anything that can be represented or calculated as a number can be observed, including Vector3s, Quaternions, booleans, and raycasts. ML-Agents has built-in support for camera vision and raycasts (which act kind of like LIDAR).
Here are some tips:
- Simpler is almost always better.
- The brains of these hummingbirds will not have any memory. That means if they don't observe something at a given moment, they have no knowledge of it — but you can help them out by providing extra observations.
This is just a thought exercise. Write down your ideas, but don't start coding yet.