# Playing Atari Games with OCaml and Deep Reinforcement Learning

DevFeed: [Playing Atari Games with OCaml and Deep Reinforcement Learning](<https://devfeed.tech/articles/playing-atari-games-with-ocaml-and-deep-reinforcement-learning-20204.md>)

Original publisher: [Read original article](<https://blog.janestreet.com/playing-atari-games-with-ocaml-and-deep-rl/>)

Author: Laurent Mazare

Published: 2019-02-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Jane Street](<https://devfeed.tech/sources/jane-street.md>)

Topics: [OCaml](<https://devfeed.tech/topics/ocaml.md>), [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [code](<https://devfeed.tech/tags/code.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [ocaml](<https://devfeed.tech/tags/ocaml.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>)

## AI overview

A developer article describes implementing deep reinforcement learning experiments in OCaml, using PyTorch through ocaml-torch bindings to train an agent to play Pong and interact with Atari environments.

## Source excerpt

In a previous blog post we detailed how we used OCaml to reproduce some classical deep-learning results that would usually be implemented in Python. Here we will do the same with some Reinforcement Learning (RL) experiments.