lifecycle:evaluation

Evaluation

Evaluation in the context of production machine-learning systems.

11

Lessons

Formal explanations, examples, simulations, and checkpoints.

Problem framing, statistics & evaluation

Predict decisions, not just labels

A model score earns its place by improving a declared decision.

Problem framing, statistics & evaluation

Labels, availability, and leakage

Train on what the system knew then, label with what became known later.

Problem framing, statistics & evaluation

Baselines and honest splits

A baseline sets the floor; an honest split keeps the ruler straight.

Problem framing, statistics & evaluation

Metrics, thresholds, and calibration

Measure ordering, repair probability meaning, then choose the policy the operation can actually run.

Problem framing, statistics & evaluation

Uncertainty and online experiments

Uncertainty tempers the estimate; randomization tests the cause; guardrails protect the product.

Problem framing, statistics & evaluation

Metric selection by task and decision

Select metrics from the prediction target, decision, error costs, prevalence, slices, horizon, and deployment constraints—not from habit.

Unsupervised learning, anomalies & retrieval

PCA and representation geometry

PCA preserves dominant geometric variation, not automatically the information your decision needs.

Unsupervised learning, anomalies & retrieval

Clustering as an operational hypothesis

A cluster becomes knowledge only when stable geometry connects to a repeatable human or system action.

Unsupervised learning, anomalies & retrieval

Density clusters and novel anomalies

Density methods flag what is locally disconnected; people and outcomes determine what is truly novel and important.

Unsupervised learning, anomalies & retrieval

Embeddings and similarity

Similarity is a modeling choice: the same vectors tell different stories under cosine and dot product.

Unsupervised learning, anomalies & retrieval

Approximate retrieval under latency

Approximate retrieval is an explicit recall–latency contract, not a transparent substitute for exact search.