Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Neural Networks

You're reading from   Hands-On Neural Networks Learn how to build and train your first neural network model using Python

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781788992596
Length 280 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Leonardo De Marchi Leonardo De Marchi
Author Profile Icon Leonardo De Marchi
Leonardo De Marchi
Laura Mitchell Laura Mitchell
Author Profile Icon Laura Mitchell
Laura Mitchell
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Section 1: Getting Started FREE CHAPTER
2. Getting Started with Supervised Learning 3. Neural Network Fundamentals 4. Section 2: Deep Learning Applications
5. Convolutional Neural Networks for Image Processing 6. Exploiting Text Embedding 7. Working with RNNs 8. Reusing Neural Networks with Transfer Learning 9. Section 3: Advanced Applications
10. Working with Generative Algorithms 11. Implementing Autoencoders 12. Deep Belief Networks 13. Reinforcement Learning 14. Whats Next? 15. Other Books You May Enjoy

Playing with OpenAI Gym

As we mentioned previously, OpenAI is one of the main research companies that is working on RL. They released a set of environments to test different algorithms under one interface. You can find out more information about this at https://gym.openai.com/.

Installing it on macOS or Linux it's quite straightforward; you can type in the following command:

pip install gym

At the time of writing this book, it's more complicated to install on Windows. To do so, you can perform the following steps:

  1. Install VcXsrv Windows X Server from vcXsrv.
  2. Run bash.
  3. Install all the dependencies listed at https://github.com/openai/gym/#installing-everything by using the following command:
pip install gym
  1. After rebooting, invoke VcXsrv.
  2. Run the following command:
export DISPLAY=:0

Now, it should be possible to run a very simple algorithm, which is just repeating...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image