Skip to Content
Machine Learning Solutions
book

Machine Learning Solutions

by Jalaj Thanaki
April 2018
Beginner to intermediate content levelBeginner to intermediate
566 pages
12h 17m
English
Packt Publishing
Content preview from Machine Learning Solutions

Setting up the coding environment

In this section, we will cover how to set up a coding environment that can help us implement our applications. We need to install the gym library. These are the steps that you can follow. I'm using Ubuntu 16.04 LTS as my operating system:

  • Step 1: Clone the gym repository from GitHub by executing this command: $ sudo git clone https://github.com/openai/gym.git
  • Step 2: Jump to the gym directory by executing this command: $ cd gym
  • Step 3: Execute this command to install the minimum number of required libraries for gym: $ sudo pip install -e
  • Step 4: Install the gaming environment for Atari games by executing this command: $ sudo pip install gym[atari]
  • Step 5: This step is optional. If you want to install all the gaming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Machine Learning

Machine Learning

Subramanian Chandramouli, Saikat Dutt, Amit Kumar Das
Machine Learning for Business

Machine Learning for Business

Doug Hudgeon, Richard Nichol
Introducing Machine Learning

Introducing Machine Learning

Dino Esposito, Francesco Esposito

Publisher Resources

ISBN: 9781788390040Supplemental Content