Leanpub Header

Skip to main content

Filters

Category: "Machine Learning"

Books

  1. Machine Learning with TensorFlow.js
    Machine Learning with TensorFlow.js
    From Fundamentals to Production in JavaScript and TypeScript
    Steve Publications

    Build real machine learning applications with TensorFlow.js, from your first model to production-ready systems. Learn how to train and deploy models in the browser and Node.js, tackle real-world challenges and explore modern techniques with practical JavaScript and TypeScript examples you can run and adapt.

  2. Toyota Production System Concepts
    Toyota Production System Concepts
    Understanding OEE in Lean Production
    Mohammed Hamed Ahmed Soliman

    This practical guide explains how to calculate, interpret, and improve OEE using real-world examples, enabling engineers, supervisors, and Lean practitioners to increase productivity, reduce downtime, and achieve world-class manufacturing performance.

  3. Production LLMOps
    Production LLMOps
    Designing, Deploying, and Operating Large Language Model Systems at Scale
    Steve Publications

    Building an LLM demo is easy. Running one reliably at scale is not. Production LLMOps shows you how to design, deploy and operate real-world LLM systems, covering RAG, agents, fine-tuning, evaluation, CI/CD, observability, security and more, with practical code you can adapt for production.

  4. From Zero to Agents - A Foundational AI/ML Course, Built From First Principles
    From Zero to Agents - A Foundational AI/ML Course, Built From First Principles
    Volume 1: Language, Math, and Neural Networks from Scratch
    Junaid Hassan

    A from-scratch AI/ML course that treats you like an engineer, not a tourist — three modules covering language-as-numbers, the math foundations, and neural networks, each concept built in raw Python first, then PyTorch, so you always know what's really happening under the hood.

  5. Full-Length Practice Exams
    Full-Length Practice Exams
    Where the domains meet — which is where the exam lives
    Hatem M.

    The eight volumes before this one each teach a single domain, and each is deliberatelyself-contained. The exams do not ask about domains — they ask about systems, and a system spansall of them at once. "A retrieval system is slow, expensive and occasionally wrong — which do you fix first?" needsretrieval, optimisation and operations together. Every one of the 150 questions here crosses atleast two domains, because that is the specific thing a single-domain book cannot teach you.

  6. Safety, Ethics and Compliance
    Safety, Ethics and Compliance
    The arithmetic underneath the assurances
    Hatem M.

    "The model is safe." "The filter is effective." "We red-teamed it and found nothing." "Wereviewed a sample and it looked fine." Each of those is a claim about evidence, and each is unfalsifiable as stated. Reviewing thirtyoutputs and finding no problems is consistent with a failure rate of one in eleven. Threehundred tests against a thousand possible failure modes leave seven hundred nobody looked at. This book supplies the missing arithmetic — and it was written without generating a singleharmful output to study.

  7. Optimisation and Acceleration
    Optimisation and Acceleration
    Where inference time actually goes — and what each remedy really costs
    Hatem M.

    Quantise the weights. Batch the requests. Add a draft model. Prune what you can. Shorten thecache. A long list of techniques and a short list of reasons. This book measures the reason first: the machine streams memory at 22.54 GB/s and computes at116.58 GFLOP/s, so anything performing fewer than 5.17 operations per byte is waiting. Decodingperforms 0.22. Every technique in the book is then measured against that one number — andseveral turn out to be addressing the wrong side of it.

  8. Super Study Guide: Трансформеры и большие языковые модели
    Super Study Guide: Трансформеры и большие языковые модели
    Shervine Amidi, Afshine Amidi, and Виктор Зайцев (Viktor Zaitsev)

    Понятный иллюстрированный путеводитель по ключевым концепциям и практическим применениям больших языковых моделей. Идеально подходит для работы над проектами, подготовки к собеседованиям и самостоятельного обучения.

  9. Policy-Space Response Oracles in Practice
    Policy-Space Response Oracles in Practice
    Building Game-Theoretic Multi-Agent Systems
    Amardeep Mond

    The practitioner's guide to policy-space response oracles: one 84-line loop, one readable repository, and every claim backed by a committed experiment — including the ones that came out wrong.

  10. Adaptation and Fine-Tuning
    Adaptation and Fine-Tuning
    What it costs to teach a model something new — built, broken and measured from scratch
    Hatem M.

    Use LoRA because it forgets less. Keep the learning rate low. Mix in some general data. Stopearly. Four pieces of advice everyone repeats and almost nobody quantifies. This book measures each one — and two turn out to be doing something other than what they arecredited with. LoRA's retention is governed by a scaling constant, not by its parameterefficiency. Early stopping bounds the damage without separating it from the gain. Everyexperiment reports two numbers: the new task, and the capability you were not trying tochange.

  11. Retrieval-Augmented Generation
    Retrieval-Augmented Generation
    Where the pipeline actually fails — chunking, retrieval, attribution and the numbers that hide it
    Hatem M.

    Chunk at 500 with 50 of overlap. Retrieve five. Add a reranker. Use hybrid search.Repeated everywhere, justified almost nowhere. This book measures them instead, on corpora built so that the correct answer follows fromhow they were made. Several results contradicted the advice: the hybrid combination lost inevery condition tested, neither reranker produced an effect above the noise floor, andattribution collapsed to 0.170 while retrieval was still reporting 0.920.

  12. Embeddings and Vector Search
    Embeddings and Vector Search
    Every index built from scratch. Every recall figure checked against exact ground truth.
    Hatem M.

    Vector databases give you a similarity metric, an index with four tuning parameters, acompression option and a way to filter — and almost no guidance on what any of it costs. This book builds each one from scratch and measures it. The proximity graph, the invertedfile, the product quantiser: implemented in NumPy, included with the text, and checkedagainst exhaustive search — so every recall figure here is exact rather than estimated.

  13. Basics of Clustering Using k-Means
    Basics of Clustering Using k-Means
    Find the groups, choose how many, and know when to trust them
    Ritesh Modi

    A machine can hand you a grouping that is confident, stable, internally consistent, and seven times worse than the one it found a moment earlier. Nothing in the output says so.This book works k-means through completely on twelve bakery customers, small enough that every number is printed and checkable. You will build the method from nothing, see exactly where it succeeds, and see exactly where it fails silently.Fifty-eight figures, every one captured from a running implementation.

  14. A visual guide behind deep learning
    A visual guide behind deep learning
    The intuition you need before your first deep learning course
    Ritesh Modi

    Every deep learning tutorial shows you the code. Almost none show you the idea. This is the book to read first - before the frameworks, before the maths notation, before the course you've already paid for. One example, followed all the way through, from a random guess to a network that works. By the end you'll understand what backpropagation actually does, why gradients matter, and what's really happening while your model trains. No calculus required.

  15. Prompting and Controlled Output
    Prompting and Controlled Output
    Why prompting works when it works — built, broken and measured from scratch
    Hatem M.

    Prompting has more advice than evidence. This book measures it instead: a model reading apattern it has never seen, the same model failing at a task in one pass and solving itperfectly in four, a decoder that guarantees a format instead of improving the odds, and amodel that is 2.4% accurate while 78.6% confident. Six central claims are built from scratch and measured on a single CPU core. Everythingtaken from published research sits in a grey box marked "Not measured here" — so you neverhave to guess which is which.