Leanpub Header

Skip to main content

Filters

Category: "Python"

Python

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

  2. Discrete Mathematics for Computer Science
    Discrete Mathematics for Computer Science
    Marie Brodsky, Alexander Golovnev, Alexander S. Kulikov, Vladimir Podolskii, and Alexander Shen

    This book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.

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

  4. Forecasting Metrics That Don’t Lie
    Forecasting Metrics That Don’t Lie
    Choosing, Testing, and Monitoring Forecast Metrics for Demand, Inventory, and Risk Decisions
    Valery Manokhin

    A model that wins on MAPE can lose money on the shelf. A 15% accuracy gain can hide a 12% bias. An interval that looks tight can be wrong a third of the time.Forecast metrics are decision instruments, not neutral truth detectors — and most teams are still choosing them by habit. This book shows where MAE, MAPE, sMAPE, WAPE, MASE, RMSSE, CRPS, pinball loss, energy scores, bias measures and cost-based metrics help, and where they quietly mislead.Twelve chapters take you from elicitation and baselines through intermittent demand, probabilistic and hierarchical scoring, and the accuracy–utility gap, to a production evaluation system with monitoring, drift detection, alerting and governance. Every metric arrives with its assumptions, every criticism carries a remedy, and a retrospective Walmart M5 case study runs throughout, with Python listings and reproducibility checks.For demand planners, forecasting data scientists, ML engineers and analytics leads who need evaluation choices they can defend. Measure what matters.

  5. Forecasting Metrics That Don’t Lie
    Forecasting Metrics That Don’t Lie
    Choosing, Testing, and Monitoring Forecast Metrics for Demand, Inventory, and Risk Decisions
    Valery Manokhin

    A model that wins on MAPE can lose money on the shelf. A 15% accuracy gain can hide a 12% bias. An interval that looks tight can be wrong a third of the time.Forecast metrics are decision instruments, not neutral truth detectors — and most teams are still choosing them by habit. This book shows where MAE, MAPE, sMAPE, WAPE, MASE, RMSSE, CRPS, pinball loss, energy scores, bias measures and cost-based metrics help, and where they quietly mislead.Twelve chapters take you from elicitation and baselines through intermittent demand, probabilistic and hierarchical scoring, and the accuracy–utility gap, to a production evaluation system with monitoring, drift detection, alerting and governance. Every metric arrives with its assumptions, every criticism carries a remedy, and a retrospective Walmart M5 case study runs throughout, with Python listings and reproducibility checks.For demand planners, forecasting data scientists, ML engineers and analytics leads who need evaluation choices they can defend. Measure what matters.

  6. Production-Grade Python, LangChain & LangGraph
    Production-Grade Python, LangChain & LangGraph
    A deployment-first handbook for developers who know Python syntax but have not shipped Python
    Fiodar Sazanavets

    AI engineering is becoming one of the most valuable and in-demand areas of software development, and Python, LangChain, and LangGraph are core skills for building the systems behind it. Learn how to turn basic Python knowledge into production-grade backend and agentic AI applications—and move toward an engineering niche centered on building and controlling AI rather than competing with it.

  7. Running Local LLMs on Your Own Hardware
    Running Local LLMs on Your Own Hardware
    A Practical Guide to Private, Offline, and Self-Hosted Large Language Models
    Yohan J. Rodríguez

    A hands-on guide to downloading, running, serving, and maintaining open-weight LLMs on your own machine (492 manuscript pages).

  8. A QuantLib Guide
    A QuantLib Guide
    An introduction to the usage of the QuantLib library
    Luigi Ballabio
    No Description Available
  9. DATABRICKS FOR PRACTITIONERS: Volume 1
    DATABRICKS FOR PRACTITIONERS: Volume 1
    The Production Lakehouse Playbook: Platform, Governance, and Data Engineering
    Ritesh Modi

    The Databricks platform and data-engineering playbook for the engineers who own pipelines, govern catalogs, and keep workloads on schedule. Sixteen chapters on Unity Catalog, Lakeflow, identity, observability, and performance. Azure examples; concepts mapped to AWS and GCP.

  10. Applied Data Science for Credit Risk
    Applied Data Science for Credit Risk
    A Practical Guide in R and Python
    Andrija Djurovic

    This book provides a practical guide to critical data science methods, focusing on their application in credit risk management. Using examples in R and Python, it presents step-by-step processes for applying various analytical techniques while highlighting the importance of aligning methods with the specific characteristics of the data. Designed for practitioners and those with foundational data science and banking knowledge, the book bridges theory and practice with real-world examples.

  11. From Source Code To Machine Code
    From Source Code To Machine Code
    Build Your Own Compiler From Scratch
    build-your-own.org

    Build a compiler to learn how programming languages work. Use low-level assembly to learn how computers work. Walks through a minimal yet complete compiler. Compiles a static-typed language into x64 ELF executables.Simple interpreter.Bytecode compiler.x64 assembly & instruction encoding.Translate bytecode to x64 code.Generate binary executables.

  12. Web Development with FastAPI
    Web Development with FastAPI
    Build Modern, Production-Ready APIs and Web Applications with Python
    Steve Publications

    Build fast, modern web applications with Python and FastAPI. Starting with your first endpoint, you’ll develop a real application step by step while learning databases, authentication, WebSockets, testing, Docker and deployment. By the end, you’ll know how to turn Python code into secure, production-ready systems.

  13. QuantLib Python Cookbook
    QuantLib Python Cookbook
    Luigi Ballabio and Goutham Balaraman

    Quantitative finance in Python: a hands-on, interactive look at the QuantLib library through the use of Jupyter notebooks as working examples.

  14. Practical Python Backend Programming, Second Edition
    Practical Python Backend Programming, Second Edition
    Hands-on backend development with FastAPI, MongoDB, Docker, Kubernetes, and message brokers using Python 3.14
    GitforGits | Asian Publishing House

    It's a practical book. We're going to build something real together, a University API, and we're going to grow it chapter by chapter until it looks like a system you'd be proud to deploy. We'll start with a few endpoints, give it databases, make it concurrent, lock it down with authentication, wrap it in containers, and finally split it into cooperating services that talk over the network.

  15. Private AI with Spark
    Private AI with Spark
    Design, package, and operate private AI locally using Apache Spark, batch pipelines, and vLLM acceleration
    GitforGits | Asian Publishing House

    For those who want to build controlled, reproducible AI systems entirely within their own infrastructure, this book is the most practical and implementation-focused trainer. Instead of relying on external APIs or cloud-hosted intelligence services, this book clearly demonstrates how Apache Spark can orchestrate data preparation, model training, batch inference, reporting, and LLM acceleration in a disciplined and transparent way.