Source map and accuracy notes
Coverage and corrections
See what the book covers, where it adds context, and what still needs checking.
On this page
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 section | Topics retained | Study destination |
|---|---|---|
| 1 — Foundations | Data 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 problems | Classification and scoring, regression, similarity, clustering, co-occurrence, profiling, links, reduction, causal modeling, supervised and unsupervised tasks. | Task selection; Associations and causality |
| 3 — Segmentation | Predictive/descriptive models, induction, instances/vectors, pure subsets, entropy, weighted information gain, regression variance, recursive trees, leaf probabilities and Laplace correction. | Decision trees |
| 4 — Fitting models | Parameters, 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 — Generalization | Overfitting, 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 — Similarity | L1/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 models | Confusion 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 curves | Scores, rankings, thresholds, profit curves, class priors, ROC/AUC, cumulative response and lift. | Evaluation and decisions |
| 9 — Evidence | Conditional/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 — Text | Documents/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 techniques | Association 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
- Data preparation: explicit schema checks, missingness, encoding, preprocessing pipelines, and prediction-time availability.
- Deep neural anomaly detection: neural-network foundations, autoencoders, contaminated reference data, thresholding, and operational evaluation.
- Numerical optimization: manufacturing decision variables, objectives, constraints, LP/MILP, gradients, feasibility, and sensitivity.
- PII/PHI NLP: span labels, rules plus NER, entity evaluation, safe redaction, privacy controls, and human review.
- Python and tools: modularity, tests, reproducibility, Linux, Git, and review.
- Delivery and support: Docker, CI/CD, Kubernetes concepts, versioning, deployment, monitoring, and rollback.
- Enterprise teamwork: agile rituals, success criteria, prioritization, risk/compliance change controls, presentations, and handoff.
- Applied practice: a study sequence, answered scenarios, and demonstrable project plans.
Read these corrections before memorizing the notes
- 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.
- Hinge loss applies inside the margin. A point can be correctly classified yet receive positive hinge loss when 0 < y·score < 1.
- Logistic regression and SVM are not guaranteed perfect separators. Their objectives, regularization, and data determine the fit; neither wins universally.
- Absolute error is the magnitude. The signed difference is a residual; absolute error is its absolute value.
- 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.
- 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.
- 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.
- N-grams really contain adjacent sequences. A list of individual words is a unigram representation. “quick brown” is a bigram.
- 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.
- 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.
- 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.
- Nearest-neighbor weighting does not eliminate k selection. It still requires validation, along with the distance metric and scale.
- Ensembles do not automatically cancel errors. Diversity helps when members have useful predictive signal; correlated mistakes and shared leakage can persist.
- 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.