Skip to content
The official code repository supporting the book, Grokking Artificial Intelligence Algorithms
Branch: master
Clone or download

Grokking Artificial Intelligence Algorithms


This is the official supporting code for the book, Grokking Artificial Intelligence Algorithms, published by Manning Publications, authored by Rishal Hurbans.

The example implementations provided will make more sense if you've read the book, however, it might be somewhat useful to you otherwise.

The purpose of this repository is to act as a practical reference for examples of how the algorithms mentioned in the book can be implemented. This repository should not be consulted as the book is read page-by-page, but rather, when you're attempting to implement an algorithm or gain a more technical understanding from a programming perspective.


  • Python 3.7.0+


Make sure that you have Python 3.7.0+ installed. Download Python here.

Clone this repository.

Navigate to the directory that contains the repository using terminal/console/command line.

Run this command to install the dependency libraries required.

pip install -r requirements.txt

Navigate to the directory containing the example that you want to run, and run this command.

python3 <>

You can’t perform that action at this time.