- Deep Learning for Beginners
- Dr. Pablo Rivas Laura Montoya
- 338字
- 2021-06-11 18:20:15
Introduction to Dopamine
An interesting recent development in the world of deep reinforcement learning is Dopamine. Dopamine is a framework for the fast prototyping of deep reinforcement learning algorithms. This book will deal very briefly with reinforcement learning, but you need to know how to install it.
Dopamine is known for being easy to use for new users in the world of reinforcement learning. Also, although it is not an official product of Google, most of its developers are Googlers. In its current state, at the time of writing this book, the framework is very compact and provides ready-to-use algorithms.
To install Dopamine, you can run the following command:
!pip install dopamine-rl
You can test the correct installation of Dopamine by simply executing the following command:
import dopamine
This provides no output, unless there are errors. Usually, Dopamine will make use of a lot of libraries outside of it to allow doing many more interesting things. Right now, some of the most interesting things one can do with reinforcement learning is to train agents with reward policies, which has direct applications in gaming.
As an example, see Figure 2.2, which displays a time snapshot of a video game as it learns, using policies that reinforce desired behavior depending on the actions taken by an agent:

Although this book does not dive a great deal into reinforcement learning, we will cover an interesting gaming application in the last chapter of the book. For now, you can read the following white paper for more information about Dopamine (Castro, P. S., et.al., 2018).
- 24小時(shí)學(xué)會(huì)電腦組裝與維護(hù)
- ATmega16單片機(jī)項(xiàng)目驅(qū)動(dòng)教程
- 圖解西門子S7-200系列PLC入門
- 新型電腦主板關(guān)鍵電路維修圖冊(cè)
- 電腦常見(jiàn)問(wèn)題與故障排除
- 辦公通信設(shè)備維修
- 計(jì)算機(jī)應(yīng)用與維護(hù)基礎(chǔ)教程
- micro:bit魔法修煉之Mpython初體驗(yàn)
- 電腦維護(hù)365問(wèn)
- VCD、DVD原理與維修
- 可編程邏輯器件項(xiàng)目開(kāi)發(fā)設(shè)計(jì)
- 筆記本電腦的結(jié)構(gòu)、原理與維修
- 電腦主板維修技術(shù)
- 筆記本電腦現(xiàn)場(chǎng)維修實(shí)錄
- 現(xiàn)代多媒體技術(shù)及應(yīng)用