Non-Fiction, Self-Help, Data

Goal Setting for Data Scientists eBook

Model accuracy and insight targets.

by Harden Tisa

  • English
  • 127 pages
  • 2026
  • SamEnrico

Model accuracy and insight targets.

Formats

Free sample

Chapter 1: The 94% Trap--Chapter 1: The 94% Trap--Let me tell you about Sarah.Sarah was a senior data scientist at a mid-sized fintech company. She was good—really good. She had won two Kaggle competitions, held a master's from a top program, and could tune a gradient-boosted tree in her sleep. When her product manager asked for a fraud detection model, Sarah did what she had been trained to do: she optimized for accuracy.She pulled the transaction data. She engineered seventeen features.

She tried logistic regression, random forests, XGBoost, and a small neural network. She cross-validated. She grid-searched. She ensembled. After three weeks of intense work, she had done it.

Her model's accuracy had climbed from 94% to 94.1%.A 0.1% absolute gain. A 1.7% relative reduction in error. By any technical standard, she had improved the model.Sarah walked into the weekly product review meeting with a confident smile. She had a slide showing the ROC curve, the confusion matrix, and the beautiful 94.1% accuracy number. She was proud.The product manager looked at the slide.

Then he asked three questions that would haunt Sarah for months:"How much slower is this model than the previous one?""How much more memory does it use?""And most importantly—how much fraud will this actually catch that the old model missed?"Sarah's smile faded. She hadn't measured latency. She hadn't tracked inference time. And when she ran the numbers on fraud capture rate—the actual dollar amount of fraud the model would prevent—the new model caught exactly three more fraudulent transactions per million than the old one. At the cost of double the processing time and triple the memory.The product manager shook his head.

"We're not deploying this."Three weeks of work. Zero business impact. A better model that was, in every way that mattered, a worse product.If you are a data scientist, you have felt some version of this pain. Maybe you spent a month reducing log loss only to discover that your stakeholders don't know what log loss is. Maybe you achieved 99% accuracy on a test set only to watch your model fail catastrophically in production.

Maybe you built something brilliant that no one ever used.This book exists because that experience is not a personal failure. It is a systemic failure of how we, as an industry, think about goals.The Great Misalignment Let me state the central problem as clearly as I can:Most data scientists optimize for the wrong thing because they measure the wrong thing.We are trained in school and on Kaggle to chase leaderboard metrics. Accuracy. AUC. F1.

Log loss. RMSE. These are elegant mathematical objects. They are easy to compute, easy to compare, and easy to obsess over.But they are not business goals.They are technical proxies for business goals. And proxies, by definition, are imperfect.

Sometimes they are useful. Often they are misleading. And in the worst cases, they actively drive you away from creating value.Consider what happens when you optimize for accuracy on an imbalanced dataset. Your model learns to predict the majority class every time. It achieves 99% accuracy and delivers zero value because it never catches the rare event you actually care about.Consider what happens when you optimize for RMSE on a forecasting problem.

Your model learns to predict the mean. It gets the average right but never predicts extremes. When a supply chain manager needs to know about stockout risk, your mean prediction is useless.Consider what happens when you optimize for AUC on a ranking problem. Your model learns to distinguish positive from negative examples, but it doesn't learn to put the most relevant results at the top. Your search engine returns correct answers on page four, which is the same as not returning them at all.And consider what happens when you optimize for any metric in isolation, without considering the production environment.

Your 99% accurate model might require 500 milliseconds of inference time when your SLA demands 50 milliseconds. Your 0.85 AUC model might require 8GB of RAM when your edge device has 2GB. Your exquisitely tuned ensemble might be completely uninterpretable when regulators demand explanations.This is the great misalignment. You are optimizing for X when the business needs Y. And the gap between X and Y is where careers go to die.The Model ROI Curve To understand why this misalignment is so common, we need to talk about diminishing returns.In the early stages of a modeling project, every hour of work produces meaningful improvements.

You go from random guessing to 70% accuracy. From there to 80%. From there to 85%. The return on investment is huge.But then something changes. The curve flattens.Getting from 85% to 90% takes more work than getting from 70% to 85%.

Getting from 90% to 92% takes more work than that. Getting from 92% to 93% takes even more. And each incremental gain comes with costs that the accuracy number hides: more complex models, longer training times, slower inference, harder debugging, less interpretability.I call this the Model ROI Curve, and it is one of the most important concepts in this book.Here is what the Model ROI Curve teaches us: there is a point beyond which additional accuracy gains are not worth their cost. That point is different for every problem. In medical diagnosis, you might push to the far right of the curve because a missed cancer diagnosis is catastrophic.

In a content recommendation system, you might stop much earlier because the tenth decimal of AUC doesn't change whether someone clicks on a cat video.The problem is that data scientists are rarely taught to ask the question: "Where is our point of diminishing returns?" Instead, we are rewarded for climbing the leaderboard. We compete to see who can get the highest number. And in that competition, we lose sight of the actual goal.I once consulted for a retail company that had spent six months building a demand forecasting model. The data science team had achieved a remarkable 98% accuracy on their test set. They were proud.

They were ready to deploy.Then the supply chain director asked a simple question: "What is the cost of a prediction error?"The team didn't know. They had never calculated it.So we ran the numbers. A prediction error that caused a stockout cost the company $1,000 in lost sales. A prediction error that caused overstock cost $100 in holding costs. The ratio was 10:1.Suddenly, the goal shifted.

The team didn't need 98% accuracy. They needed a model that was biased toward over-prediction, because over-prediction errors were ten times cheaper than under-prediction errors. The perfectly balanced 98% accurate model was actually worse than a 90% accurate model with the right bias.They rebuilt the model in two weeks. It had lower accuracy but higher business value. It was deployed.

It saved the company millions.That is the power of setting the right goal.Introducing the Big Five Trade-offs Throughout this book, we will return to a simple framework: every ML goal involves balancing at least two competing priorities. I call these the Big Five Trade-offs, and they will appear in every chapter that follows.Let me list them here so you have a mental map of the territory:Big Five #1: Precision vs. Recall (or more generally, False Positives vs. False…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

Model accuracy and insight targets.

Details

Author
Harden Tisa
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Self-Help, Data
Released
2026-06-05
Pages (approx.)
127
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Harden Tisa

See all

You may also like

See all