From a5d8d6badb0d585a135dc6de32bce74c9f5bdf7e Mon Sep 17 00:00:00 2001 From: Juan Martinez <36634572+josejuanmartinez@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:27:47 +0000 Subject: [PATCH 1/5] Create quiz for unit 5 --- units/en/unit5/quiz.mdx | 87 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 units/en/unit5/quiz.mdx diff --git a/units/en/unit5/quiz.mdx b/units/en/unit5/quiz.mdx new file mode 100644 index 00000000..badef496 --- /dev/null +++ b/units/en/unit5/quiz.mdx @@ -0,0 +1,87 @@ +# Quiz + +The best way to learn and [to avoid the illusion of competence](https://www.coursera.org/lecture/learning-how-to-learn/illusions-of-competence-BuFzf) **is to test yourself.** This will help you to find **where you need to reinforce your knowledge**. + + +### Q1: What of the following statemets are true about Unity ML-Agents? + + + +### Q2: Explain with your own words what is the role of the `Academy`. + +
+Solution + +The `Academy` is the orchestrating module in charge of attending the requests from the Python API and sending them to the agents (e.g, `collect observations`) + +Academy + +
+ + +### Q3: What are the differences between capturing the environment using `frames` or `raycasts`? + + + + +### Q4: Name several input variables which were used in any of the Snowball or Pyramid environments +
+Solution +- Collisions of the raycasts in charge of detecting blocks, (invisible) walls, stones, our target, switches, etc. in the environment. +- Traditional inputs describing agent features, as its speed (it could also be position, rotation, etc. although that is covered by our raycast already). +- Some boolean vars, as the switch (on/off) in Pyramids or the `can I shoot?` in the SnowballTarget. +
+ + +Congrats on finishing this Quiz 🥳, if you missed some elements, take time to read the chapter again to reinforce (😏) your knowledge. From 9614d3d51b428653e09067fc15a3cef4885865cf Mon Sep 17 00:00:00 2001 From: Juan Martinez <36634572+josejuanmartinez@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:28:43 +0000 Subject: [PATCH 2/5] Delete units/en/unit5/quiz.mdx --- units/en/unit5/quiz.mdx | 87 ----------------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 units/en/unit5/quiz.mdx diff --git a/units/en/unit5/quiz.mdx b/units/en/unit5/quiz.mdx deleted file mode 100644 index badef496..00000000 --- a/units/en/unit5/quiz.mdx +++ /dev/null @@ -1,87 +0,0 @@ -# Quiz - -The best way to learn and [to avoid the illusion of competence](https://www.coursera.org/lecture/learning-how-to-learn/illusions-of-competence-BuFzf) **is to test yourself.** This will help you to find **where you need to reinforce your knowledge**. - - -### Q1: What of the following statemets are true about Unity ML-Agents? - - - -### Q2: Explain with your own words what is the role of the `Academy`. - -
-Solution - -The `Academy` is the orchestrating module in charge of attending the requests from the Python API and sending them to the agents (e.g, `collect observations`) - -Academy - -
- - -### Q3: What are the differences between capturing the environment using `frames` or `raycasts`? - - - - -### Q4: Name several input variables which were used in any of the Snowball or Pyramid environments -
-Solution -- Collisions of the raycasts in charge of detecting blocks, (invisible) walls, stones, our target, switches, etc. in the environment. -- Traditional inputs describing agent features, as its speed (it could also be position, rotation, etc. although that is covered by our raycast already). -- Some boolean vars, as the switch (on/off) in Pyramids or the `can I shoot?` in the SnowballTarget. -
- - -Congrats on finishing this Quiz 🥳, if you missed some elements, take time to read the chapter again to reinforce (😏) your knowledge. From cc89254cf50e86157d24858f4e1ea53ead28d50b Mon Sep 17 00:00:00 2001 From: Juan Martinez <36634572+josejuanmartinez@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:29:05 +0000 Subject: [PATCH 3/5] Create quiz for unit 5 --- units/en/unit5/quiz.mdx | 87 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 units/en/unit5/quiz.mdx diff --git a/units/en/unit5/quiz.mdx b/units/en/unit5/quiz.mdx new file mode 100644 index 00000000..badef496 --- /dev/null +++ b/units/en/unit5/quiz.mdx @@ -0,0 +1,87 @@ +# Quiz + +The best way to learn and [to avoid the illusion of competence](https://www.coursera.org/lecture/learning-how-to-learn/illusions-of-competence-BuFzf) **is to test yourself.** This will help you to find **where you need to reinforce your knowledge**. + + +### Q1: What of the following statemets are true about Unity ML-Agents? + + + +### Q2: Explain with your own words what is the role of the `Academy`. + +
+Solution + +The `Academy` is the orchestrating module in charge of attending the requests from the Python API and sending them to the agents (e.g, `collect observations`) + +Academy + +
+ + +### Q3: What are the differences between capturing the environment using `frames` or `raycasts`? + + + + +### Q4: Name several input variables which were used in any of the Snowball or Pyramid environments +
+Solution +- Collisions of the raycasts in charge of detecting blocks, (invisible) walls, stones, our target, switches, etc. in the environment. +- Traditional inputs describing agent features, as its speed (it could also be position, rotation, etc. although that is covered by our raycast already). +- Some boolean vars, as the switch (on/off) in Pyramids or the `can I shoot?` in the SnowballTarget. +
+ + +Congrats on finishing this Quiz 🥳, if you missed some elements, take time to read the chapter again to reinforce (😏) your knowledge. From dbd0d00000ebd75bd28835f6622a89411c442b15 Mon Sep 17 00:00:00 2001 From: Juan Martinez <36634572+josejuanmartinez@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:29:45 +0000 Subject: [PATCH 4/5] Update _toctree.yml --- units/en/_toctree.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/units/en/_toctree.yml b/units/en/_toctree.yml index 704be139..9996521c 100644 --- a/units/en/_toctree.yml +++ b/units/en/_toctree.yml @@ -148,6 +148,8 @@ title: Hands-on - local: unit5/bonus title: Bonus. Learn to create your own environments with Unity and MLAgents + - local: unit5/quiz + title: Quiz - local: unit5/conclusion title: Conclusion - title: Unit 6. Actor Critic methods with Robotics environments From abd4a56c3235fee5f6a08422bbcc90d23d0a251f Mon Sep 17 00:00:00 2001 From: "Jose J. Martinez" Date: Wed, 6 Dec 2023 18:30:51 +0000 Subject: [PATCH 5/5] Unit 5 quiz and rewording of unit 6 --- units/en/unit5/quiz.mdx | 107 ++++++++++++++++++++++++++++------------ units/en/unit6/quiz.mdx | 18 +++---- 2 files changed, 84 insertions(+), 41 deletions(-) diff --git a/units/en/unit5/quiz.mdx b/units/en/unit5/quiz.mdx index badef496..7b9ec0c8 100644 --- a/units/en/unit5/quiz.mdx +++ b/units/en/unit5/quiz.mdx @@ -2,72 +2,114 @@ The best way to learn and [to avoid the illusion of competence](https://www.coursera.org/lecture/learning-how-to-learn/illusions-of-competence-BuFzf) **is to test yourself.** This will help you to find **where you need to reinforce your knowledge**. +### Q1: Which of the following tools are specifically designed for video games development? -### Q1: What of the following statemets are true about Unity ML-Agents? + + +### Q2: What of the following statements are true about Unity ML-Agents? -### Q2: Explain with your own words what is the role of the `Academy`. +### Q3: Fill the missing letters + +- In Unity ML-Agents, the Policy of an Agent is called a b _ _ _ n +- The component in charge of orchestrating the agents is called the _ c _ _ _ m _
Solution +- b r a i n +- a c a d e m y +
-The `Academy` is the orchestrating module in charge of attending the requests from the Python API and sending them to the agents (e.g, `collect observations`) - -Academy +### Q4: Define with your own words what is a `raycast` +
+Solution +A raycast is (most of the times) a linear projection, as a `laser` which aims to detect collisions through objects.
- -### Q3: What are the differences between capturing the environment using `frames` or `raycasts`? +### Q5: Which are the differences between capturing the environment using `frames` or `raycasts`? -### Q4: Name several input variables which were used in any of the Snowball or Pyramid environments +### Q6: Name several environment and agent input variables used to train the agent in the Snowball or Pyramid environments +
Solution -- Collisions of the raycasts in charge of detecting blocks, (invisible) walls, stones, our target, switches, etc. in the environment. -- Traditional inputs describing agent features, as its speed (it could also be position, rotation, etc. although that is covered by our raycast already). -- Some boolean vars, as the switch (on/off) in Pyramids or the `can I shoot?` in the SnowballTarget. +- Collisions of the raycasts spawned from the agent detecting blocks, (invisible) walls, stones, our target, switches, etc. +- Traditional inputs describing agent features, as its speed +- Boolean vars, as the switch (on/off) in Pyramids or the `can I shoot?` in the SnowballTarget.
diff --git a/units/en/unit6/quiz.mdx b/units/en/unit6/quiz.mdx index 0c49305f..09228d73 100644 --- a/units/en/unit6/quiz.mdx +++ b/units/en/unit6/quiz.mdx @@ -3,7 +3,7 @@ The best way to learn and [to avoid the illusion of competence](https://www.coursera.org/lecture/learning-how-to-learn/illusions-of-competence-BuFzf) **is to test yourself.** This will help you to find **where you need to reinforce your knowledge**. -### Q1: What of the following interpretations of bias-variance tradeoff is the most accurate in the field of Reinforcement Learning? +### Q1: Which of the following interpretations of bias-variance tradeoff is the most accurate in the field of Reinforcement Learning? -### Q2: Which of the following statements are True, when talking about models with bias and/or variance in RL? +### Q2: Which of the following statements are true, when talking about models with bias and/or variance in RL? -### Q3: Which of the following statements are true about Monte-carlo method? +### Q3: Which of the following statements are true about Monte Carlo method? -### Q4: What is the Advanced Actor-Critic Method (A2C)? +### Q4: How would you describe, with your own words, the Actor-Critic Method (A2C)?
Solution @@ -83,12 +83,12 @@ The idea behind Actor-Critic is that we learn two function approximations:
-### Q5: Which of the following statemets are True about the Actor-Critic Method? +### Q5: Which of the following statements are true about the Actor-Critic Method?