Account
Computer Science & Technology

Deep Learning and the Game of Go

Build a Go-playing AI and learn modern machine learning step by step

Learn deep learning by building a Go-playing AI, from tree search and neural networks to AlphaGo Zero. Instant download, start coding today.

  • 381pages
  • 13chapters
  • 5appendices

This book is for you if you are

  • a programmer comfortable with Python who wants machine learning taught through a real project
  • curious about how AlphaGo and AlphaGo Zero actually work and want to build the pieces yourself
  • looking for a path from basic tree search to reinforcement learning without jumping between five textbooks

Why this book

Deep Learning and the Game of Go by Max Pumperla and Kevin Ferguson teaches modern machine learning through one concrete project: building a bot that plays Go. Published by Manning Publications Co. in 2019, it treats the game as a machine-learning problem you solve chapter by chapter instead of a topic you read about. You finish with a working opponent and a real command of the techniques behind it.

Most deep learning titles explain algorithms in isolation and leave you without anything to run. This one keeps a single application in view the whole way, so every new idea gets tested on a board. The progression is deliberate: a rule-based Go bot, then tree search, then neural network design for board data, then supervised learning from human records, and finally reinforcement learning with policy gradients, value methods, and actor-critic methods. The final chapters assemble those pieces into AlphaGo and then integrate tree search with reinforcement learning for AlphaGo Zero.

  • Nine chapters of reinforcement learning coverage, from practice-based learning to the actor-critic family
  • Network architecture built around the structure of Go data, not a generic example
  • Two closing chapters that connect the earlier methods into AlphaGo and AlphaGo Zero
  • Appendix B on the backpropagation algorithm for readers who want the math behind the gradient
  • Appendices on Go programs and servers, and on submitting a bot to the Online Go Server

Readers who get the most from this book are programmers comfortable with Python who want reinforcement learning and neural networks taught through a task with clear success conditions. This edition ships your bot from first rules to deployment, so the work stays connected to something you can watch play. Get your copy today.

What you'll learn

  • Implement a first Go bot with rules, board representation, and move generation
  • Apply tree search, including Monte Carlo tree search, to choose moves in play
  • Design a neural network around the structure of Go board data
  • Train a supervised deep-learning bot on human game records
  • Deploy a trained bot and connect it to Go programs and online servers
  • Build reinforcement learning agents with policy gradients, value methods, and actor-critic methods
  • Assemble tree search and reinforcement learning into AlphaGo and AlphaGo Zero style agents

Not the right book for: Readers who want a survey of deep learning with no programming project attached

Questions about this book

Do I need to know how to play Go before reading this book?

No. The book treats Go as a machine-learning problem and explains the rules and board structure as it builds the first bot, so chess or Go experience helps but is not required.

Which machine learning methods does the book actually cover?

It walks from a rule-based bot and tree search through neural network design, supervised learning on game data, and reinforcement learning with policy gradients, value methods, and actor-critic methods.

How does the book get to AlphaGo and AlphaGo Zero?

The final two chapters assemble earlier components into an AlphaGo style agent, then integrate tree search with reinforcement learning to build an AlphaGo Zero style system.

Is the mathematics behind the networks explained?

Appendix A covers mathematical foundations and Appendix B works through the backpropagation algorithm, so the gradient mechanics are not left as a black box.

Can I test my bot against other players?

Appendix C lists Go programs and servers and Appendix E covers submitting a bot to the Online Go Server, so you can move from local games to playing against other bots.

Can I get it in another format?

Yes. You get the PDF right away. Need EPUB, Kindle, Word or any other format? Email support@ebooksonline.si with your order number and we send it.

Does it work on Kindle?

Yes. Email support@ebooksonline.si with your order number and we send you a Kindle-ready file.

How many times can I download it?

As many times as you like. Sign in to your account and download it again at any time.

What if the file does not work?

Contact us with your order number and we will fix it or refund you.

Contents

  1. 1Toward deep learning: a machine-learning introductionp. 3
  2. 2Go as a machine-learning problemp. 18
  3. 3Implementing your first Go botp. 29
  4. 4Playing games with tree searchp. 57
  5. 5Getting started with neural networksp. 85
  6. 6Designing a neural network for Go datap. 116
  7. 7Learning from data: a deep-learning botp. 148
  8. 8Deploying bots in the wildp. 178
  9. 9Learning by practice: reinforcement learningp. 200
  10. 10Reinforcement learning with policy gradientsp. 218
  11. 11Reinforcement learning with value methodsp. 233
  12. 12Reinforcement learning with actor-critic methodsp. 247
  13. 13AlphaGo: Bringing it all togetherp. 265
  14. 14AlphaGo Zero: Integrating tree search with reinforcement learningp. 289
  15. 15Appendix A Mathematical foundationsp. 311
  16. 16Appendix B The backpropagation algorithmp. 318
  17. 17Appendix C Go programs and serversp. 323
  18. 18Appendix D Training and deploying bots by using Amazon Web Servicesp. 326
  19. 19Appendix E Submitting a bot to the Online Go Serverp. 335

Details

Author
Max Pumperla and Kevin Ferguson
Publisher
Manning Publications Co.
Edition
2019
Pages
381
Language
English
Formats
PDF (EPUB, Kindle or any other format on request)
File size
9.9 MB
Licence
Personal use, keep forever

Max Pumperla and Kevin Ferguson

Max Pumperla and Kevin Ferguson are the authors of this book and built the open source Go bot BetaGo together.

Buy with confidence

If your file does not open or download, we fix it or refund you. Read the refund policy.

More in Computer Science & Technology

See all

Java™ Coding Guidelines

Fred Long, Dhruv Mohindra, Robert C. Seacord, Dean F. Sutherland, David Svoboda

PDF · 304 pages

$9.99 Regular price $17.99 −44%

You save $8.00

Add to cart

AI 2041

Kai-Fu Lee and Chen Qiufan

PDF · 476 pages

$9.99 Regular price $31.99 −69%

You save $22.00

Add to cart

Data Science on AWS

Chris Fregly and Antje Barth

PDF · 524 pages

$14.99 Regular price $64.99 −77%

You save $50.00

Add to cart
Cover of 10-Minute Focus by Daniel Walter

Get a free ebook

Join the list and get 10-Minute Focus free, plus a short note when new books arrive.

Your cart

No products in the cart.

Subjects

More

Look inside

Sample