Engineering Online Experimentation and ML Evaluations
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer science > Artificial intelligence > Machine learning > Engineering Online Experimentation and ML Evaluations: Architecture, Statistics and Machine Learning for Production-Scale Systems
Engineering Online Experimentation and ML Evaluations: Architecture, Statistics and Machine Learning for Production-Scale Systems

Engineering Online Experimentation and ML Evaluations: Architecture, Statistics and Machine Learning for Production-Scale Systems


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Online experimentation is now essential for modern software and machine learning teams. This book provides an engineer-first, end-to-end guide to building and operating production-ready experimentation platforms.

The book begins with Part I establishing the core foundations of credible experimentation, including hypothesis testing, power analysis, sample sizing, metric design, and common pitfalls such as peeking, multiple testing, and novelty or learning effects. Part II focuses on platform engineering—traffic and identity management, mutual exclusion, event and logging design, ETL/ELT pipelines, building a stats engine with SciPy and statsmodels, SRM detection, integrating deployments with feature flags and canaries, and setting up guardrail and health monitoring. Part III presents advanced designs that improve speed and sensitivity: sequential testing with alpha spending, bootstrap intervals for ratios and quantiles, A/B/n testing with ANOVA, interleaving for ranking systems, switchback and geo experiments, and multi-armed bandits. Part IV connects experimentation to ML workflows, covering offline, shadow, canary, and A/B evaluation pipelines; Bayesian optimization for adaptive experimentation; counterfactual and IPS methods for learning from logs; and safe retraining supported by strong governance.

What you will learn:

  • Design trustworthy experiments with proper metrics, guardrails, α/power/MDE settings, and safeguards against peeking and multiple-testing errors
  • Build a production-ready experimentation stack with assignment, identity/diversion, logging, ETL/ELT, a stats engine, and SRM checks
  • Run advanced designs at scale, including sequential tests, bootstrap CIs, interleaving, switchback/geo experiments, and multi-armed bandits
  • Evaluate ML systems from offline to online, leverage experiment logs for learning, and enable safe retraining with governance

Who this book is for:

The primary audience for this book includes Data Engineers, ML Engineers, and Platform or Software Architects. It is also well suited for Product and Data Scientists who want a deeper understanding of experimentation systems and the engineering principles behind them.



Table of Contents:

Part I: The Statistical and Foundational Core.- Chapter 1: The Experimentation Mindset.- Chapter 2: The Statistical Engine of Experimentation.- Chapter 3: Designing Trustworthy Experiments.- Chapter 4: Metric Design and Variance Reduction.- Part II: Platform Engineering: Building a Production Experimentation System.- Chapter 5: Architecture of an Experimentation Platform.- Chapter 6: User Identity, Diversion, and Segmentation.- Chapter 7: Instrumentation and Event Design.- Chapter 8: The ETL/ELT Pipeline and Statistical Engine.- Chapter 9: Data Quality and Health Checks.- Chapter 10: Deployment and Release Strategies.- Part III: Beyond Basic A/B Testing: Advanced Experimental Designs.- Chapter 11: Accelerating Experiments and Analyzing Complex Metrics.- Chapter 12: Advanced Designs: Multi-Variant and Factorial Experiments.- Chapter 13: Evaluating Ranking Systems: Online Interleaving Experiments.- Chapter 14: Switchback and Geo-Experiments: Testing on Time and Space.- Chapter 15: Multi-Armed Bandits: Balancing Exploration and Exploitation.- Chapter 16: Contextual Bandits: Personalized Exploration and Exploitation.- Part IV: Online Experimentation for Machine Learning Systems.- Chapter 17: Testing Machine Learning Systems.- Chapter 18: Adaptive Experimentation for Model Optimization.- Chapter 19: Machine Learning from Experiment: Counterfactual Learning.- Chapter 20: Deploying Experiment-Trained Models: Safe Retraining Pipelines and Governance.



About the Author :

Ming Lei is a data and ML engineering leader with 20 years of experience building end-to-end ML systems for Internet Ads and Search, and experimentation platforms for E-commerce. He has designed large-scale systems that operationalize rigorous statistical methods — such as sequential testing, bootstrapping, multi-armed bandits, and Bayesian optimization — and support ML evaluation from offline analysis to online deployment. His leadership spans roles at eBay, Meta (Facebook), Google, and Appen. He holds multiple US patents and advanced degrees in computer science (UC Riverside) and economics (Clark University), along with a B.S. in physics (Wuhan University). He is based in the Northwest of US.


Best Sellers


Product Details
  • ISBN-13: 9798868827204
  • Publisher: Apress
  • Publisher Imprint: Apress
  • Height: 254 mm
  • Returnable: N
  • Returnable: N
  • Returnable: N
  • Returnable: N
  • Returnable: N
  • Width: 178 mm
  • ISBN-10: 8868827204
  • Publisher Date: 22 Jun 2026
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Returnable: N
  • Returnable: N
  • Returnable: N
  • Sub Title: Architecture, Statistics and Machine Learning for Production-Scale Systems


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Engineering Online Experimentation and ML Evaluations: Architecture, Statistics and Machine Learning for Production-Scale Systems
Apress -
Engineering Online Experimentation and ML Evaluations: Architecture, Statistics and Machine Learning for Production-Scale Systems
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Engineering Online Experimentation and ML Evaluations: Architecture, Statistics and Machine Learning for Production-Scale Systems

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Hello, User