Leanpub Header

Skip to main content

Filters

Category: "Machine Learning"

Machine Learning

  1. Learn Python the Simple Way
    Learn Python the Simple Way
    The fundamental programming language for Machine Learning (ML), Scientific and Numeric Computing, Robotics and Web Development
    Sanjib Sinha

    Reading "Learn Python the Simple Way", you'll learn how software work.At this moment, Python is one of the fundamental programming languages for Machine Learning (ML), Scientific and Numeric Computing, Robotics and even Web Development.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. Foundations of Large Language Models
    Foundations of Large Language Models
    What the model is actually doing — and why every certification asks about it differently
    Hatem M.

    Five certifications ask about the same twenty topics, and each one stops at a differentdepth. This book teaches the topic once, properly, then shows you exactly where each examstops — with 61 original practice questions where every wrong option is explained. Every number in it was measured. Every line of code was run. The code is included.

  9. JAX Programming: From Fundamentals to Large-Scale Systems
    JAX Programming: From Fundamentals to Large-Scale Systems
    A Comprehensive Guide to Accelerated Python Computing
    Steve Publications

    From your first JAX script to large-scale AI systems, this book shows how to write faster, cleaner Python for modern computing. Learn the ideas behind JAX through practical examples, real projects and clear explanations that help you build everything from scientific simulations to distributed machine learning.

  10. Designing Machine Learning Systems
    Designing Machine Learning Systems
    An Iterative Process for Production-Ready Applications
    Mohammed Akram

    Learn how to design, build, and deploy reliable, scalable, and maintainable Machine Learning systems in production through an iterative end-to-end process.

  11. Ahmed Adawy Tech Capsules: Official Brand & Publishing Guide

    Build a world-class technical publishing brand with this complete guide to designing, structuring, and publishing professional Tech Capsules. Learn proven layouts, visual identity, content architecture, publishing workflows, and best practices used to create high-quality technical micro-books that readers lov

  12. Coffee Break AI
    Coffee Break AI
    Understand How Artificial Intelligence Really Works - One Short Chapter at a Time
    Finxter

    Every news feed is full of AI buzzwords: Transformers, tokens, embeddings, context windows, hallucinations, objective functions. Yet most explanations are either dense academic textbooks or empty marketing fluff. ☕ Coffee Break AI is your practical guide to AI. Written in plain English with warm real-world analogies. It breaks down the core mechanisms of AI into 40 bite-sized chapters.

  13. Production NLP with spaCy
    Production NLP with spaCy
    A Comprehensive Guide to Building Production-Ready NLP Systems
    Steve Publications

    If you want to build real NLP applications instead of just experimenting with notebooks, spaCy is one of the best places to start. This book walks you through the entire journey from the fundamentals to advanced production workflows with practical explanations, real code examples and hands-on projects that show you how to build fast, reliable NLP systems for the real world.

  14. Neural Networks with Python, Second Edition
    Neural Networks with Python, Second Edition
    Explore Transformers, ViTs, Diffusion, KANs, and SSMs using Python, NumPy and PyTorch
    GitforGits | Asian Publishing House

    We'll stick to five libraries, not because more would be a problem, but because keeping it simple shows how well we can organise things. When you download MNIST with just the standard library, you finally see what a dataset loader was hiding. If you write attention as four lines of NumPy before you ever call a PyTorch module, it's no longer a magic process but just plain arithmetic.

  15. LLMs Explained
    LLMs Explained
    How Large Language Models Learn, Think, and Generate
    Steve Publications

    Large language models are changing the world, yet few people understand how they actually work. This book cuts through the hype, explaining the ideas behind modern AI with clarity, precision, and no unnecessary jargon.