DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk4 min

Evaluating Machine Learning Models by Alice Zheng: What the 2015 Guide Covers

Alice Zheng's Evaluating Machine Learning Models explains how to define success, choose task-appropriate metrics, separate validation from hyperparameter tuning, and avoid common offline and online testing errors.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Evaluating Machine Learning Models by Alice Zheng is a concise, concept-first guide to deciding whether a machine-learning system is working. Its central lesson is to define project-specific success before choosing a metric, validation scheme, or tuning strategy. First published by O’Reilly Media on September 1, 2015, it remains useful as a foundation, but readers should supplement it with current software documentation and newer evaluation guidance.

Book at a glance

Detail Information
Author Alice Zheng
Publisher O’Reilly Media
First release September 1, 2015
ISBN 9781492048756
Level Intermediate to advanced; also presented as an introduction for readers new to data science and applied machine learning
Catalog length 20 pages
Catalog reading time 1 hour 20 minutes

The page count and reading time are O’Reilly catalog figures, not independent measurements. The book grew from six technical posts on the Dato Machine Learning Blog, according to Zheng’s preface.

As an Amazon Associate I earn from qualifying purchases.

The question that should come before every metric

Zheng attributes two questions to advice from her machine-learning mentors: “How can I measure success for this project?” and “How would I know when I’ve succeeded?” Those questions prevent a common mistake: treating a familiar score as proof that a model is useful.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Start by specifying the decision the model supports, the errors that matter most, the population and time period represented by the data, and an operational threshold for success. A fraud model, a search-ranking system, and a demand forecast can all be evaluated on the same dataset yet require different definitions of acceptable performance.

What the book covers

Classification

The classification material includes accuracy, confusion matrices, per-class accuracy, log-loss, and area under the ROC curve (AUC). It also flags imbalanced classes. In an imbalanced problem, overall accuracy can conceal poor performance on the rare class, so class-level results and the cost of false positives versus false negatives need explicit attention.

Ranking

For ranking systems, the outline covers precision-recall measures, F1, and normalized discounted cumulative gain (NDCG). These metrics address different questions: how many retrieved items are relevant, how completely relevant items are found, how precision and recall balance at a chosen point, and whether highly relevant results appear near the top.

Regression

Regression chapters discuss root mean squared error (RMSE) and error quantiles. RMSE gives larger errors extra influence because errors are squared; quantiles show how error is distributed, which is often more informative when a typical case and a worst-case case have different business consequences.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Difficult data conditions

The contents specifically call out outliers and rare data. These conditions can change both the metric and the validation result, making it important to inspect the data-generating process rather than relying on a single aggregate number.

Validation, testing, and tuning are different jobs

A key distinction in Zheng’s preface is that cross-validation and hold-out validation estimate performance on unseen data, while hyperparameter tuning is a model-selection process. They are related, but asking one to perform the other’s job can produce an overoptimistic estimate.

Activity Primary question Methods named in the book
Validation How might this fitted model perform on unseen data? Hold-out validation, cross-validation
Uncertainty estimation How variable is the estimate or statistic? Bootstrapping, jackknife
Testing What is the final, protected estimate after choices are made? A separate test set, in the book’s validation/testing discussion
Model selection Which parameters or hyperparameters should be chosen? Grid search, random search, other tuning approaches, nested cross-validation

For example, repeatedly selecting the best hyperparameters against one validation fold gradually adapts decisions to that fold. Nested cross-validation addresses this by separating the loop used for selection from the loop used for estimating generalization.

Offline evaluation methods in context

Hold-out validation

Reserve part of the data for evaluation and train on the remainder. It is simple and computationally light, but the estimate can depend heavily on one split, especially with small or rare datasets.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Cross-validation

Rotate validation folds so that multiple partitions contribute to the estimate. This uses data more efficiently than a single split, but it still requires a split strategy that respects grouping, time order, and leakage risks in the project.

Bootstrapping and jackknife

These resampling approaches help study the variability of an estimate. They do not automatically repair a flawed target, contaminated split, or unrepresentative dataset.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Online tests add different risks

The book’s online-evaluation section covers A/B-testing pitfalls: choosing the metric, obtaining enough observations, false positives, repeated hypotheses, test duration, and distribution drift. A statistically detectable change is not automatically a valuable product change, and repeatedly checking or trying many outcomes increases the chance of a misleading positive result.

Multi-armed bandits are discussed as an alternative when an experiment must balance learning with allocating traffic. The choice depends on whether the primary need is a clean, fixed comparison or adaptive allocation during deployment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A practical reading and application sequence

  1. Define success. Write the decision, target population, error costs, and a pass/fail threshold.
  2. Identify the task. Choose the classification, ranking, or regression metric family that matches the decision.
  3. Design the split. Select hold-out or cross-validation, while accounting for time, groups, rare cases, and leakage.
  4. Separate selection from estimation. Tune hyperparameters without treating the tuning result as an untouched final test.
  5. Inspect more than one number. Review confusion matrices, per-class behavior, error quantiles, ranking depth, and uncertainty where relevant.
  6. Plan online measurement separately. For an A/B test or bandit, predefine metrics, duration, sample-size logic, and how repeated looks at the data will be handled.

Who should read it today?

The book suits a learner who needs a compact map of evaluation concepts or a practitioner who wants a checklist for connecting metrics to project goals. It is not a current survey of machine-learning libraries, production monitoring, fairness evaluation, or newer experimental practice. Because it is a 2015 first edition, verify contemporary procedures and tool-specific behavior against current documentation before applying its examples.

For further reading, search for Evaluating Machine Learning Models Alice Zheng book. O’Reilly identifies the title and ISBN above; current retailer stock, formats, prices, and affiliate availability are not established here.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.