• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Start selling Create your account
Document preview thumbnail
Preview 1 out of 3 pages
Study guide

Data Mining: Patterns, Prediction and Evaluation

Document preview thumbnail
Preview 1 out of 3 pages

Study notes for a third-year Data Mining module. Section 1 covers the CRISP-DM process, data preparation, feature construction and data leakage. Section 2 covers classification and regression methods including trees, random forests, gradient boosting, nearest neighbours, naive Bayes and support vector machines, with bias-variance, regularisation and correct splitting for temporal and grouped data. Section 3 covers k-means, hierarchical and DBSCAN clustering, cluster validity, PCA, t-SNE and UMAP, association rules with support, confidence and lift, and anomaly detection. Section 4 covers imbalance, the confusion matrix, precision, recall, F1, ROC and precision-recall curves, cross-validation including nested folds, feature selection inside the loop, drift monitoring and fairness audits. Includes a method table, four practice questions with marking checkpoints, a glossary and a revision plan.

Content preview

Data Mining: Patterns, Prediction and Evaluation
Finding structure in data without fooling yourself
Computer Science | Undergraduate (Level 6) | December 2026


WHAT IS INSIDE

1. The data mining process
2. Supervised methods
3. Unsupervised methods and association
4. Evaluation and deployment
Exam question patterns
Glossary of exam-ready definitions

1. The data mining process
Data mining is the application of statistical and algorithmic methods to large data sets to find patterns
that are valid, novel and useful. The CRISP-DM cycle - business understanding, data understanding,
preparation, modelling, evaluation, deployment - is worth naming because most failures happen before
modelling: undefined questions, leakage, and data that does not measure what it claims.
Data preparation dominates effort: cleaning, missing-value handling, encoding, scaling and feature
construction. Leakage is the classic error - including a variable that is only available after the outcome,
or scaling before splitting - and it produces excellent validation scores that collapse in production. Every
preprocessing step must be fitted on training data only.
• Question first - a pattern without a decision attached is a curiosity.
• Leakage - any post-outcome information in the features.
• Fit on train only - scaling, imputation and selection included.
• Documentation - record the data version and every transformation.

2. Supervised methods
Classification predicts a label; regression predicts a value. Decision trees split on impurity reduction
and are interpretable but unstable; random forests and gradient boosting average many trees and
dominate tabular prediction, at the cost of interpretability that must then be recovered with importance
measures or SHAP values. k-nearest neighbours is simple and sensitive to scaling; naive Bayes is fast
and makes a strong independence assumption; support vector machines find maximum-margin
boundaries and need kernel choice.
Model choice is a bias-variance decision. A model too simple underfits; too flexible and it overfits the
training sample. Regularisation, pruning, early stopping and ensembling control the variance. The
reported performance must come from data the model has not seen, and the split must respect the data's
structure - by time for temporal data, by group for repeated measures - or the estimate is optimistic.
• Bias-variance - the trade-off every tuning decision moves.
• Trees vs ensembles - interpretability against accuracy.
• Scaling - required for distance and margin methods, not for trees.
• Split by structure - time and group splits, not random, where relevant.




Data Mining: Patterns, Prediction and Evaluation Page 1 of 3

Document information

Study
Unknown
Uploaded on
December 2, 2026
Number of pages
3
Written in
2026/2027
Type
Study guide
£6.35

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
225
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions