QSO 570 Module 2 Data Preparation Assignment Example

Reviewed by Portia Lambrick, MBA

This QSO 570 Module 2 Data Preparation Assignment sample builds a modeling table of features and targets at fixed prediction dates, screens it for leakage and splits it by time into training, validation and test sets. SNHU QSO 570 (QSO-570) assigns data preparation in Module 2, the foundation for every model its MS Operations Management students build afterward. The data belong to Quillfield Athletic Clubs, an invented chain of fitness clubs predicting which members will cancel. The paper shows how each row and feature is anchored to a date, how a trial model that looked almost perfect exposed four leaking fields and why the data are split by month rather than at random.

CourseQSO 570 Predictive Business Analytics
ModuleModule 2
Paper typegraduate 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
LengthAbout 1,000 words, 6 pages
FormatAPA 7 student paper
SchoolSouthern New Hampshire University
ProgramMS Operations Management
UpdatedOctober 2026

Free sample paper for QSO 570 Module 2

1

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.

What this page is doingThe member records, features and partitions for Quillfield Athletic Clubs in this QSO 570 assignment are invented.
2

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.

What this page is doingStates the task.
3

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.

What this page is doingDefines each row.
4

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.

What this page is doingDefines what is predicted.
5

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

GroupExamplesCount
VisitsVisits in the last 30 and 90 days; ratio of last 30 days to the prior 60; days since last visit as of the snapshot9
MembershipTenure in months; contract type; dues; home club; family plan8
PaymentsFailed payments in the last 90 days; card expiring within 60 days5
Classes and servicesClass bookings and no-shows in the last 90 days; personal training sessions; guest passes used10
HistoryPrior freezes; prior cancellations and rejoins; referral source6
LocationDistance from home to club; number of clubs within 10 miles3

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.

What this page is doingBuilds predictors from earlier records.
6

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

FieldWhy it leaks
Last visit date from the current member systemOverwritten daily, so for past snapshots it shows visits after the snapshot date, including the absence of visits before canceling
Exit survey completedCreated only when a member cancels
Account status codeChanges to pending when a cancellation request is entered, sometimes before the snapshot in the extract
Retention offer flagSet 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.

What this page is doingFinds and removes four fields.
7

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

PartitionSnapshot monthsRowsShare canceling within 60 days
TrainingJanuary to August 2025About 416,0006.0%
ValidationSeptember and October 2025About 104,0006.2%
TestNovember and December 2025About 104,0006.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.

What this page is doingSplits the data by time.
8

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.

What this page is doingMakes the table repeatable.
9

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.

What this page is doingSummarizes the table.
10

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 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.