2.7. Exercises (lab02)#
This ungraded assignment is composed of 15 exercises on grid search, random search, and cross-entropy method. In order to understand and solve the exercises, and more generally to gain the maximum benefit from this tutorial, it is highly recommended that you read the Chapter 2.
2.7.1. Contents#
Part 1. Grid search
Exercise |
Topic |
---|---|
Random sampling |
|
Step 1 |
|
Step 2 |
|
Step 3 |
|
Grid search |
|
Cost function |
|
Optimization |
Part 2. Random search
Part 3. Cross-entropy method
2.7.2. Required packages#
For this assignment, you need to import the following packages.
Numpy - The library for scientific computing in Python.
Matplotlib - The library for plotting graphs in Python.