Leanpub Header

Skip to main content

Filters

Category: "Machine Learning"

Books

  1. Super Study Guide: Transformers & Large Language Models

    A clear, illustrated guide to large language models, covering key concepts and practical applications. Ideal for projects, interviews, or personal learning.

  2. Build Your Own Coding Agent
    Build Your Own Coding Agent
    The Zero-Magic Guide to AI Agents in Pure Python
    J. Owen

    Skip the black-box frameworks. Build a production-grade AI coding agent from scratch in pure Python - cloud or local, tested with pytest, all in a single file.

  3. The Hundred-Page Machine Learning Book

    Everything you really need to know in Machine Learning in a hundred pages.

  4. Deep Learning with PyTorch Step-by-Step
    Deep Learning with PyTorch Step-by-Step
    A Beginner's Guide
    Daniel Voigt Godoy

    Revised for PyTorch 2.x! In 2019, I published a PyTorch tutorial on Towards Data Science and I was amazed by the reaction from the readers! Their feedback motivated me to write this book to help beginners start their journey into Deep Learning and PyTorch. I hope you enjoy reading this book as much as I enjoy writing it.

  5. Mastering Modern Time Series Forecasting
    Mastering Modern Time Series Forecasting
    A Comprehensive Guide to Statistical, Machine Learning, and Deep Learning Models in Python
    Valery Manokhin

    800 pages. 11 chapters. The full forecasting stack in Python — from ARIMA to foundation models — with production-grade code and proper evaluation. No hype.

  6. Applied Conformal Prediction:Practical Uncertainty Quantification for Real-World ML
    Applied Conformal Prediction:Practical Uncertainty Quantification for Real-World ML
    Practical Uncertainty Quantification for Real-World ML Learn Conformal Prediction (CP), the state-of-the-art technique for building statistically valid, model-agnostic prediction intervals
    Valery Manokhin

    A powerful new book on Conformal Prediction by bestselling author and machine learning expert Valery Manokhin, bridging theory and real-world machine learning. Discover how to quantify uncertainty with statistical guarantees—across deep learning, time series, forecasting, and more. Preorder now before the price goes up.

  7. Build an LLM Inference Engine in C++
    Build an LLM Inference Engine in C++
    A Challenge-Driven Guide to Building a CPU-First Inference Engine in C++20
    Hatem M.

    Build a complete LLM inference engine in C++ — from a blankproject to a working Transformer that loads a real model andgenerates text. Forged one challenge at a time, with teststhat prove every piece works before you move on.

  8. Next.js – The Comprehensive Guide
    Next.js – The Comprehensive Guide
    From React Fundamentals to AI-Powered Full-Stack Apps
    Florian Wessels

    Learn Next.js by building a real AI-powered application, from project setup to production deployment. This book covers the complete journey: TypeScript, React, Next.js App Router, Prisma, authentication, the Vercel AI SDK (chat, RAG, tool calling), testing, security, and deployment. One project, 29 chapters, no toy demos.

  9. The Agentic AI book
    The Agentic AI book
    From Language Models to Multi-Agent Systems
    Dr. Ryan Rad

    It's never been easier to build an AI agent — and never been harder to make one that actually works. This book takes you from language model foundations to production-ready multi-agent systems with the depth to predict failure before it happens, engineer graceful degradation over catastrophic failure, and take absolute architectural ownership. Get the paperback from amazon.

  10. My Adventures with Large Language Models
    My Adventures with Large Language Models
    Build foundational LLMs from Transformers to DeepSeek, from scratch, in PyTorch.
    Prathamesh S.

    Build GPT-2, Llama 3, and DeepSeek from scratch in PyTorch. Every chapter has runnable end-to-end code and loads real pretrained weights. Goes well past where most LLM tutorials stop.

  11. Local AI Engineering with Ollama
    Local AI Engineering with Ollama
    Run, understand, customize, fine-tune, and build agentic apps on your own hardware
    Aymen El Amri

    Pull a model onto a machine you own, shape it with a Modelfile, fine-tune your own adapter, and build a chat app that calls tools and talks to an MCP server, all running on your own hardware. By the end, you'll know exactly where owning your AI beats renting it, and where it doesn't.

  12. LLM Quantization
    LLM Quantization
    From the Bits Up
    Hatem M.

    Anyone can run INT4 and read off the accuracy drop. This book explains why that number is what it is — building every quantization method from scratch, breaking it on purpose, and measuring the result. Quantization, from the bits up.

  13. Supervised Machine Learning for Science
    Supervised Machine Learning for Science
    How to stop worrying and love your black box
    Christoph Molnar and Timo Freiesleben

    This book explores supervised machine learning for scientific research, addressing its limitations in interpretability, causality, and uncertainty quantification. By unifying philosophical justification with practical solutions, it provides a roadmap for turning machine learning into a rigorous tool for science.

  14. Imbalanced Data
    Imbalanced Data
    Myths, Mistakes and Modern Solutions
    Soledad Galli, PhD

    Class imbalance isn’t a problem. Poor methodology is. This book challenges outdated practices and provides rigorous, data-driven alternatives. We focus on selecting the right tools, threshold tuning, real costs (not class frequencies), and strategic evaluation metrics, to build models that work.

  15. Complete Machine Learning Algorithms
    Complete Machine Learning Algorithms
    Reference Guide With Detailed Formula Explanations
    Krzysztof Kołek

    Stop guessing which machine learning algorithm to use. This book provides clear mathematical explanations, decision frameworks, and real-world examples to help you select, implement, and evaluate models correctly from data to deployment.