Monday , November 30 2026
The 7 stages of a data science project from problem definition to deployment, CRISP-DM mapping, a churn example and common pitfalls.

Data Science Lifecycle: 7 Stages of a Project (CRISP-DM)

Updated: 29 November 2026Level: BeginnerReading time: about 7 minutesConcepts

Every data science project follows a similar lifecycle. Knowing the stages helps you plan work, avoid skipping steps and explain progress to stakeholders. Popular frameworks such as CRISP-DM describe the same flow.

What You Will Learn

  • The 7 stages of a project
  • What happens and what is produced at each stage
  • How much time each stage takes
  • CRISP-DM
  • Common pitfalls

The Stages

# Stage Key questions Output
1 Problem definition What decision will this support? How will we measure success? Goal, metric, scope
2 Data collection Where does the data live? Is it enough and allowed? Raw data (SQL, APIs, files)
3 Data cleaning Missing values, duplicates, wrong types, errors? Clean dataset – guide
4 Exploratory analysis What patterns, relationships and outliers exist? Insights, charts – EDA
5 Feature engineering & modelling Which features and algorithms work best? Trained, validated model – features
6 Evaluation Does it beat a baseline on unseen data and meet the business goal? Metrics, error analysis – metrics
7 Deployment & monitoring How do users get predictions? Is performance stable? API, dashboard, monitoring – deployment
Note: The process is a loop, not a straight line. Evaluation often sends you back to collect more data or engineer better features.

Where the Time Goes

Surveys of practitioners consistently find that collecting, cleaning and preparing data takes the largest share of project time – often more than modelling. Plan for it.

CRISP-DM

CRISP-DM phase Matches stage(s)
Business Understanding 1
Data Understanding 2, 4
Data Preparation 3, 5 (features)
Modeling 5
Evaluation 6
Deployment 7

Example: Churn Prediction

  1. Goal: reduce customer churn; metric: recall of churners at fixed precision.
  2. Pull customer, usage and billing tables with SQL.
  3. Fix missing charges, convert types, remove duplicate customers.
  4. Find that month-to-month contracts churn most.
  5. Create tenure groups, train logistic regression and gradient boosting.
  6. Compare with a “predict no churn” baseline; check recall.
  7. Serve with FastAPI; monitor drift monthly.

The full build is in the end-to-end churn project.

Common Pitfalls

  • Starting to model before agreeing on the business metric.
  • Data leakage – using information not available at prediction time.
  • Evaluating on training data.
  • Never deploying, or deploying without monitoring.

Series

Data Science series: What is Data Science · Lifecycle · Data Cleaning · EDA · Outliers · Feature Engineering · Visualization · Seaborn · Roadmap

Interview Questions

Q: Name the stages of a data science project.
Problem definition, data collection, cleaning, EDA, feature engineering and modelling, evaluation, deployment and monitoring.

Q: What is CRISP-DM?
A standard six-phase process model for data mining and data science projects.

Practice Exercises

  1. Write the 7 stages for a project predicting house prices in your city.
  2. List three possible sources of data leakage in a loan-default model.

Summary

A project moves from problem to data to cleaning, EDA, modelling, evaluation and deployment – and loops back. Most effort goes into data preparation.

Next: Exploratory Data Analysis

About Machine Learning

Check Also

Exploratory Data Analysis (EDA) in Python: Step-by-Step Checklist

A step-by-step EDA checklist in pandas with tested outputs: shape, missing values, describe, value counts, groupby, correlations and charts.