A few weeks after that December meeting, the managing director is back with two harder questions. Which kinds of customer are most likely to stop repaying next year? And why do customers who take a home loan so often open a fixed deposit within six months? You can't answer these by adding up a column, because nobody knows in advance which totals to look at. The bank does have its clean history now, sitting in the warehouse we built in the last lesson. The job is to dig through it, and then to put what we find on the manager's screen every morning.
Two things do that. Data mining digs through the history for patterns nobody asked about directly, such as who is likely to default. Business intelligence (BI) puts the answers in front of the manager as reports and dashboards. Bank and BCS papers ask these ideas as one-mark MCQs and, more and more, as written questions that want a table, a worked example or a small calculation.
By the end of the chapter you'll be able to name the stages of knowledge discovery and say where mining sits among them. You'll build the first split of a decision tree, score a model with a confusion matrix, spot overfitting, classify a new applicant with Naive Bayes and k-NN, run k-means by hand, group five points by single-linkage clustering, fit a regression line and catch an outlier. You'll run the Apriori algorithm on a set of shopping baskets and say whether a rule is a real association. Finally you'll design a bank dashboard, write its reports in SQL and explain what big data adds to the picture.
We'll go in four parts: data mining and the KDD process (Part 1), the mining techniques, each worked once (Part 2), association rules and Apriori (Part 3), and business intelligence and big data (Part 4).