Leanpub Header

Skip to main content

The AI Handbook

Mastering Core Algorithms, Learning Models, and Intelligent System Design

This book is 100% completeLast updated on 2026-07-15

Master the algorithms, models, and systems that power modern AI — and learn how to deploy them to create real business value. The complete preparation guide for the APMG AI Fundamentals examination.

Minimum price

$19.00

$29.00

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
WEB
APP
About

About

About the Book

Artificial intelligence is no longer a specialist discipline. It is a core business capability — and the practitioners who understand both how AI works and how organisations make it work are among the most valuable people in any industry today.

The AI Handbook: Mastering Core Algorithms, Learning Models and Intelligent Systems Design is a rigorous, practical guide to the full AI stack, written for professionals who need more than surface-level familiarity with the technology. Beginning with the foundational principles of intelligent agent design and the Enterprise Big Data Framework, the book builds progressively through search and optimisation, reinforcement learning, neural network architecture and training, and large language models — before bringing everything together in a capstone chapter on enterprise AI strategy, deployment, and governance.

Each chapter combines precise technical explanation with worked business examples drawn from financial services, healthcare, manufacturing, logistics, and the public sector. Python laboratory exercises in every chapter — covering implementations from A* search and Q-learning on FrozenLake to MNIST classification in PyTorch and LoRA fine-tuning of TinyLlama — give you the hands-on fluency that no amount of reading alone can develop.

The book provides complete coverage of the APMG AI Fundamentals examination syllabus. Every topic the examination tests is developed here from first principles — agent design, search algorithms, machine learning, neural networks, natural language processing, and enterprise AI deployment — at a depth that prepares you not just to pass the examination but to do the work the qualification is designed to certify.

Whether you are preparing for the APMG credential, leading an AI programme, working with AI teams as a product manager or strategist, or simply determined to understand the technology that is reshaping every industry, this is the handbook that will take you there.

Share this book

Author

About the Author

Jan-Willem Middelburg

Jan-Willem Middelburg is a Dutch entrepreneur and author with a passion for technology and innovation. He is the CEO and co-founder of Cybiant, a global technology that company that helps to create a more sustainable world through analytics, big data and automation. He is also President and Chief Examiner of the Enterprise Big Data Framework, an independent organization dedicated to upskilling individuals with expertise in Big Data. In partnership with APMG-International, the Enterprise Big Data Framework offers vendor-neutral certifications for individuals.

Contents

Table of Contents

Foreword

Chapter 1: Artificial Intelligence

  1. 1.1 Understanding Artificial Intelligence
  2. 1.2 Weak AI, Strong AI, and Super Intelligence
  3. 1.3 The PEAS Framework
  4. 1.4 Python Lab 1 — Defining a PEAS Framework

Chapter 2: Search Problems and Problem-Solving Agents

  1. 2.1 From Agent Design to Problem Solving
  2. 2.2 Defining a Search Problem
  3. 2.3 Types of Environments and Their Impact on Search
  4. 2.4 Uninformed Search Strategies
  5. 2.5 Informed Search Strategies
  6. 2.6 Search in the Enterprise Context
  7. 2.7 Python Lab 2.1 — Implementing BFS and A* on a Grid

Chapter 3: Reinforcement Learning

  1. 3.1 From Search to Learning
  2. 3.2 The Reinforcement Learning Framework
  3. 3.3 Exploration vs. Exploitation
  4. 3.4 Model-Free RL Methods
  5. 3.5 Deep Reinforcement Learning
  6. 3.6 Real-World Applications and Enterprise Considerations
  7. 3.7 Python Lab 3.1 — Training a Q-Learning Agent with Gymnasium

Chapter 4: Neural Networks

  1. 4.1 From Reinforcement Learning to Neural Networks
  2. 4.2 The Biological Analogy and the Perceptron
  3. 4.3 Feedforward Neural Networks
  4. 4.4 Training Neural Networks
  5. 4.5 Preventing Overfitting
  6. 4.6 Specialised Architectures
  7. 4.7 Neural Networks in the Enterprise
  8. 4.8 Python Lab 4.1 — Building and Training a Neural Network with PyTorch

Chapter 5: Large Language Models

  1. 5.1 From Neural Networks to Language Models
  2. 5.2 The Transformer at Scale
  3. 5.3 From Pre-trained Models to Useful Systems
  4. 5.4 Capabilities and Benchmarks
  5. 5.5 Limitations and Failure Modes
  6. 5.6 LLMs in the Enterprise
  7. 5.7 Python Lab 5.1 — Fine-Tuning a Small LLM with LoRA

Chapter 6: AI in the Enterprise

  1. 6.1 From Technology to Business Value
  2. 6.2 Identifying and Prioritising AI Opportunities
  3. 6.3 Data Strategy for AI
  4. 6.4 AI Architecture Patterns
  5. 6.5 Organisational Readiness and the AI Team
  6. 6.6 Ethics, Safety, and Responsible AI
  7. 6.7 The Road Ahead: AI Strategy for the Next Decade
  8. 6.8 Python Lab 6.1 — AI Opportunity ROI Calculator

Glossary

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub