| Course | QSO 570 Predictive Business Analytics |
|---|---|
| Module | Module 2 |
| Paper type | graduate assignment building a modeling table of features and targets at fixed prediction dates, screening for leakage and splitting the data by time into training, validation and test sets |
| Length | About 1,000 words, 6 pages |
| Format | APA 7 student paper |
| School | Southern New Hampshire University |
| Program | MS Operations Management |
| Updated | October 2026 |
Free sample paper for QSO 570 Module 2
An AUC of 0.97 Was the First Warning: Building Quillfield's Churn Table
[Student Name]
Southern New Hampshire University
QSO 570: Predictive Business Analytics
Data Preparation Assignment
[Instructor Name]
[Date]
The organization, setting and figures below are a composite written as a model document. No real employer, client, colleague or patient is described.
An AUC of 0.97 Was the First Warning: Building Quillfield's Churn Table
Introduction
Quillfield Athletic Clubs wants a monthly ranking of active members by how likely each is to hand in a cancellation over the following two months. Before any model can be trained, the club's records must be turned into a table in which every row describes what was known about a member on a particular date and what happened afterward. This assignment builds that table, screens it for information that would not be available in practice and divides it into training, validation and test sets.
Unit and Prediction Date
Each row is one active member on the first day of one month. Using the first day of each month in 2025 gives twelve snapshots and about 624,000 rows, since membership stays near 52,000. A member appears in up to twelve rows, once for each month they were active. Members already in a freeze on the snapshot date, about 1,900 in a typical month, were excluded from that month's snapshot, because they cannot cancel without first ending the freeze and the clubs do not call them.
The Target
The target equals one if the member submitted a cancellation in the 60 days after the snapshot date and zero otherwise. Across the table, about 6.1 percent of rows have a target of one. Requests to freeze are not counted as cancellations, but a member who froze and then canceled within the window is counted. Snapshots from November and December use outcomes from January and February 2026, so the table could only be completed in March.
Features
Domingos (2012) observes that the features used often matter more than the learning algorithm. Forty-one features were built, each from records dated before the snapshot, and each named with its window.
Feature groups
| Group | Examples | Count |
|---|---|---|
| Visits | Visits in the last 30 and 90 days; ratio of last 30 days to the prior 60; days since last visit as of the snapshot | 9 |
| Membership | Tenure in months; contract type; dues; home club; family plan | 8 |
| Payments | Failed payments in the last 90 days; card expiring within 60 days | 5 |
| Classes and services | Class bookings and no-shows in the last 90 days; personal training sessions; guest passes used | 10 |
| History | Prior freezes; prior cancellations and rejoins; referral source | 6 |
| Location | Distance from home to club; number of clubs within 10 miles | 3 |
Missing values were rare except for distance, missing for about 7 percent of members with no valid address; these were given the median distance and a separate missing indicator, since lacking an address may itself be informative. Categorical fields such as contract type and home club were coded as indicator variables.
The Leakage Screen
Kaufman et al. (2012) describe leakage as the introduction of information about the target that would not be legitimately available at prediction time, and show how often it occurs in practice, from fields updated after the event to identifiers that encode the outcome. A quick logistic regression with every available field scored 0.97 on area under the curve for later months, far above what published churn models achieve. That result was treated as a warning.
Fields removed for leakage
| Field | Why it leaks |
|---|---|
| Last visit date from the current member system | Overwritten daily, so for past snapshots it shows visits after the snapshot date, including the absence of visits before canceling |
| Exit survey completed | Created only when a member cancels |
| Account status code | Changes to pending when a cancellation request is entered, sometimes before the snapshot in the extract |
| Retention offer flag | Set by staff after a member mentions leaving, often days before the request |
Days since last visit was recomputed from the visit log, using only visits before the snapshot date. After the four fields were removed, the same quick model's area under the curve on later months fell to 0.77, which is in the range typical of churn models and far more believable.
Partitions
Arlot and Celisse (2010), surveying cross-validation methods, note that the right way to hold out data depends on the structure of the data and on how the model will be used, and that random splitting can mislead when observations are dependent or ordered in time. Here both conditions apply: the model will predict future months, and the same member appears in several rows.
Partitions by snapshot month
| Partition | Snapshot months | Rows | Share canceling within 60 days |
|---|---|---|---|
| Training | January to August 2025 | About 416,000 | 6.0% |
| Validation | September and October 2025 | About 104,000 | 6.2% |
| Test | November and December 2025 | About 104,000 | 6.4% |
Training on earlier months and testing on later months mirrors how the model will be used and shows whether it holds up as conditions change. Because members appear in more than one partition, the test results describe performance on future months for a mix of familiar and new members, which is also the situation in practice. Within the training set, cross-validation for tuning uses folds of whole months rather than random rows, so that one member's adjacent months do not sit on both sides of a split.
Documentation
Every feature has a written definition, its source table, its window and a sign-off from the revenue manager. The script that builds the table runs in steps that record row counts, the base rate and the share of missing values for each feature, and it can be rerun on the first of each month to produce the rows to score. A check compares each new month's feature averages with the training data and flags any feature whose average shifts by more than 20 percent, which would suggest a change in how the clubs record something rather than a change in members.
Conclusion
The modeling table has about 624,000 member-month rows, 41 features computed only from earlier records and a 60-day cancellation target with a base rate of about 6.1 percent. A deliberate screen removed four leaking fields that had made a trial model look nearly perfect, and the data are split by month so that every model will be judged on months after the ones it learned from.
References
Arlot, S., & Celisse, A. (2010). A survey of cross-validation procedures for model selection. Statistics Surveys, 4, 40-79. https://doi.org/10.1214/09-SS054
Domingos, P. (2012). A few useful things to know about machine learning. Communications of the ACM, 55(10), 78-87. https://doi.org/10.1145/2347736.2347755
Kaufman, S., Rosset, S., Perlich, C., & Stitelman, O. (2012). Leakage in data mining: Formulation, detection, and avoidance. ACM Transactions on Knowledge Discovery from Data, 6(4), 1-21. https://doi.org/10.1145/2382577.2382579
What the QSO 570 Module 2 instructions ask for
The QSO 570 Module 2 assignment usually asks students to prepare a data set for predictive modeling. Expect to define the unit of analysis and the target variable, create and transform predictors, handle missing values and categorical variables, examine the target's distribution and partition the data into training, validation and test sets. Strong assignments anchor every row to a prediction date, compute each feature only from information recorded before that date, define the target over a fixed window after it, screen fields that could reveal the outcome, explain why the partition is random or time-based, report the base rate in each partition and record every step so the table can be rebuilt each month.
How this QSO 570 Module 2 data preparation assignment example is built
The assignment builds the modeling table for the cancellation model at Quillfield Athletic Clubs, a fictional chain of 14 fitness clubs. Each row is an active member on the first day of a month in 2025, about 624,000 rows, with 41 features computed only from records dated before that day, such as visits in the last 30 and 90 days, the change in visits, tenure, contract type, payment failures and class bookings. The target is a cancellation within 60 days, true for about 6.1 percent of rows. A leakage screen removes four fields, including a last-visit date from the current system and an exit survey flag, which had pushed a trial model's AUC to 0.97. Data are split by month. Kaufman and colleagues, Arlot and Celisse and Domingos inform the work.
Where the QSO 570 Module 2 rubric puts the points
Markers of the QSO 570 data preparation assignment look for a clearly defined unit and prediction date, a precisely constructed target, features computed from information available at prediction time, sensible handling of missing values and categories, a deliberate leakage screen, a partition scheme justified by how the model will be used, base rates reported for each partition and documentation that allows the table to be rebuilt. The strongest papers show a leak that was found and removed. Credit drops when features draw on later records, the target window is unclear, data are split at random when time matters, the same customers appear in training and test without comment or preparation steps are not recorded. Tables, clear writing and APA citations complete the grade.
QSO 570 Module 2 help: the mistakes that cost points
Decide what one row represents, for example a customer on a given date, and write down that date for every row. Build each feature from records dated before it, and give each feature a name that says its window, such as visits in the last 30 days. Define the target as what happens in a fixed period after the date. Then hunt for leaks: any field that is updated after the date, filled in only when the outcome occurs or suspiciously predictive is a candidate. A quick model that scores nearly perfectly is a strong sign of leakage. Split the data the way the model will be used, usually training on earlier dates and testing on later ones, and report the share of positive cases in each part. Papers often skip the leakage screen, which is the step most likely to change the results.
Get QSO 570 Module 2 written to your instructions
Share the QSO 570 Module 2 instructions and describe your raw data. A writer fixes the unit and date of each row, builds features from earlier records only, sets the target window, screens every field for leakage, picks a split that suits the use and documents counts and base rates, citing research on validation and leakage. Your first QSO 570 paper is free, finished in roughly two days. The paper above is an original model document written by our desk, not a submitted student paper and not an official Southern New Hampshire University document.
More QSO 570 papers and related MS Operations Management samples
- QSO 570 Module 1 Discussion: What to Predict, and When
- QSO 570 Module 3 Regression Assignment: Predicting Next Month's Visits
- QSO 570 Module 4 Discussion: Why a Perfect Training Score Is a Warning
- QSO 570 Module 5 Classification Assignment: Who Will Cancel in the Next 60 Days
- QSO 570 Module 6 Trees and Ensembles Assignment: One Tree, a Forest and Boosting
- QSO 570 Module 7 Discussion: Choosing a Threshold by Profit
- QSO 570 Module 8 Retention Test Assignment: The Members a Call Can Actually Keep
- QSO 570 Module 9 Final Project: The Predictive Analytics Report
- QSO 570 Module 10 Discussion: Fairness When Offers Follow Scores
- CSR 610 Module 5 Decision Framework Assignment: A Cheaper Magnesium Source
- OL 645 Module 6 Discussion: Politics Inside and Outside HR
- BMB 630 Module 9 Milestone Three: The Campaign Calendar and Budget
- FIN 640 Module 2 Risk and Return Assignment: What History Says Each Pool Can Expect
QSO 570 Module 2 questions, answered
Where can I find a free QSO 570 Module 2 Data Preparation Assignment sample?
The complete QSO 570 Module 2 assignment is on this page: building a leak-free churn table for an invented fitness club chain.
What is data leakage in predictive modeling?
Information in the training data that would not be available when real predictions are made, which makes a model look far more accurate in testing than in use.
Why split data by time for prediction?
Because the model will be used to predict later periods, so testing it on periods after its training data shows how it will perform in practice.
What is a validation set?
A portion of the data held out from training and used to compare models and tune settings, separate from the final test set used once at the end.
What is feature engineering?
Creating predictors from raw data, such as counts, changes and ratios over defined windows, that capture patterns a model can use.