Source map and accuracy notes

Coverage and corrections

See what the book covers, where it adds context, and what still needs checking.

Complete topic map

The source file contains Chapters 1–10 and 12. It does not contain Chapter 11; no missing chapter has been invented. Original figures and the exact transcription remain available in the source archive.

Original sectionTopics retainedStudy destination
1 — FoundationsData science vs mining, churn, data-driven decisions, data as a complementary asset, all CRISP-DM stages, exploratory R&D, summary statistics, hypothesis tests and uncertainty, queries, OLAP, warehousing, predictive vs explanatory regression, ML and KDD.Lifecycle; Problem framing
2 — Business problemsClassification and scoring, regression, similarity, clustering, co-occurrence, profiling, links, reduction, causal modeling, supervised and unsupervised tasks.Task selection; Associations and causality
3 — SegmentationPredictive/descriptive models, induction, instances/vectors, pure subsets, entropy, weighted information gain, regression variance, recursive trees, leaf probabilities and Laplace correction.Decision trees
4 — Fitting modelsParameters, linear discriminants, scaled weights, objectives, logistic regression, SVM margin/hinge, zero-one/absolute/squared loss, least squares, odds and log odds.Linear models and losses
5 — GeneralizationOverfitting, fitting graphs, learning curves, train/validation/test, k-fold and nested CV, tree stopping/pruning, hypothesis-test caveats, sequential forward selection, L1/L2, leakage.Validation and regularization
6 — SimilarityL1/L2, Jaccard/cosine, weighted kNN for class/probability/regression, k as complexity, explanation/scale/dimension/latency limits, linkage/dendrograms, centroids and k-means.Similarity and clusters
7 — Good modelsConfusion matrices, skew and base rates, expected value and cost matrices, prior reweighting, majority/stump baselines, MAE/MSE/RMSE, precision/recall/F1.Evaluation and decisions
8 — Performance curvesScores, rankings, thresholds, profit curves, class priors, ROC/AUC, cumulative response and lift.Evaluation and decisions
9 — EvidenceConditional/joint probability, independence, Bayes, prior/posterior/likelihood/evidence, Naive Bayes, incremental learning, double counting/calibration, evidence lift and conditional rates.Probability and Bayes; Conditional error rates
10 — TextDocuments/corpus, bag of words, frequency, normalization/stemming/stopwords, IDF/TF–IDF, information gain, entropy and self-information, n-grams, entity extraction, LSI and LDA.Text representations; Sensitive entity detection
12 — Other techniquesAssociation lift/leverage, profiling and Gaussian ellipses, hard/soft GMM clusters, unsupervised similarity vs supervised links, reduction/latent information, ensembles, noise/bias/variance, forests/boosting, correlation vs causation.Associations and ensembles; Clusters and reduction

Applied topics

Read these corrections before memorizing the notes

  1. Association is not causal proof. Data-driven firms can have higher productivity without an observational association alone proving why. Prediction also does not identify the effect of intervening.
  2. Hinge loss applies inside the margin. A point can be correctly classified yet receive positive hinge loss when 0 < y·score < 1.
  3. Logistic regression and SVM are not guaranteed perfect separators. Their objectives, regularization, and data determine the fit; neither wins universally.
  4. Absolute error is the magnitude. The signed difference is a residual; absolute error is its absolute value.
  5. Cross-validation does not cure leakage. Ordinary k-fold uses each observation for validation once, but repeated entities, time dependencies, or global preprocessing still invalidate the estimate. The final test is not tuning feedback.
  6. Naive Bayes assumes conditional independence given the class. Correlated evidence can hurt classification as well as probability accuracy; double counting is not harmless by definition.
  7. IDF depends on its convention. Under log(N/df), a ubiquitous term has IDF 0. Under common smoothed plus-one conventions, it has IDF 1. Neither convention measures “sparseness” without qualification.
  8. N-grams really contain adjacent sequences. A list of individual words is a unigram representation. “quick brown” is a bigram.
  9. Changing class balance changes precision and profit. A balanced diagnostic sample does not automatically estimate production precision. ROC rates can be examined by class, but prior weighting and deployment assumptions still matter.
  10. Profit need not fall monotonically as the threshold falls. Additional true positives may initially increase profit; extra false positives may eventually reduce it. Evaluate the whole curve.
  11. AUC is a ranking metric, not a deployment guarantee. A high ROC-AUC need not mean high rare-event precision, good calibration, or acceptable cost.
  12. Nearest-neighbor weighting does not eliminate k selection. It still requires validation, along with the distance metric and scale.
  13. Ensembles do not automatically cancel errors. Diversity helps when members have useful predictive signal; correlated mistakes and shared leakage can persist.
  14. Feature coefficients are not universal importance scores. Even after scaling, correlated features, interactions, regularization, and coding affect the interpretation.

Evidence boundaries

The original notes are reference material, not independent validation of every claim. The explanations do not certify a compliance solution. For an actual project, confirm assumptions, approved data access, tool choices, and legal obligations with appropriate reviewers.

Definition

View in glossary →