Machine Learning, Animated by Liu Mark;

Machine Learning, Animated by Liu Mark;

Author:Liu, Mark;
Language: eng
Format: epub, pdf
Publisher: CRC Press LLC
Published: 2023-09-29T00:00:00+00:00


If these concepts sound too abstract at the moment, don't worry. They will become clearer as we move along. Below, you'll see a concrete example of a game environment and the above concepts in this environment.

10.1.2 The Frozen Lake Game

Let's start with the Frozen Lake game environment in OpenAI Gym. In short, an agent moves on the surface of a frozen lake, which is simplified as a four by four grid. The agent starts at the top left corner and tries to get to the lower right corner without falling into one of the four holes on the lake surface. The condition of the lake surface is illustrated in the picture lake_surface.png under /files/ch10/ in the book's GitHub repository. If you open the picture, you'll see four gray circles, which are the four holes on the lake surface.

The code in the cell below will get you started:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.