Python para Data Science e Analytics
Python para Data Science e Analytics › Guides › What Is CRISP-DM and How Does It Organize a Data Project?

What Is CRISP-DM and How Does It Organize a Data Project?

CRISP-DM (Cross-Industry Standard Process for Data Mining) is a public reference model that describes a data project in six phases: business understanding, data understanding, data preparation, modeling, evaluation, and deployment. It is not software or a library — it is a roadmap for deciding what belongs in scope and what counts as a finished deliverable. The model expects you to loop back to earlier phases, because most projects discover during modeling a problem that was in the data all along.

Topics: crisp-dm, metodologia, projeto de dados

What are the six phases of CRISP-DM?

The six phases have fixed names, and each one produces a concrete output. That is where most of the model's value sits: instead of agreeing only to "build a model", the team has to record what goes in and what comes out of each step.

The sequence is not a rigid conveyor belt. The CRISP-DM diagram itself carries return arrows — evaluation back to modeling, modeling back to data preparation — and a project often moves two steps back after finding that a variable was badly documented.

Effort is uneven as well. In practice, data understanding and data preparation absorb the largest share of the time, while training the model is a fraction of the total work. A schedule built without that assumption misses its estimate.

Why use CRISP-DM to organize scope and delivery?

The most common use of CRISP-DM is not technical — it is an agreement device. It gives business and technical people a shared list of steps, each with a verifiable exit criterion. Without that, the scope of a data project becomes "improve the numbers" and never closes.

It guards against two recurring failures. The first is starting from the model: someone asks for machine learning before deciding which decision it supports. The second is shipping a model with a good metric that nobody uses, because the evaluation phase never looked at the business.

Small teams can usually run a lightweight version: one page with the six phases, the deliverable of each, and who signs off. In regulated projects or ones with many stakeholders, the same roadmap becomes a tracking document.

One practical detail: deployment is the phase most often left out of plans. Putting a model into use involves access to new data, a named owner, and a re-evaluation routine — none of which appear if the plan stops at training.

How do the CRISP-DM phases show up in practice with Python?

Each phase has a matching set of tools in the Python ecosystem. Data understanding and data preparation lean on Pandas and NumPy: reading files, joining tables, handling missing values, standardizing scales, and detecting outliers. Visualization supports the check on distributions before any transformation is chosen.

Modeling covers the classic supervised and unsupervised techniques: linear and logistic regression, K-Means, SVM, Naive Bayes, decision trees, Random Forest, Gradient Boosting, XGBoost, and LightGBM. Feature selection and cross-validation bridge modeling and evaluation, because they decide whether a result holds outside the training sample.

The whole path fits in a Jupyter Notebook, with an IDE for the scripts that must run on their own. The notebook suits the exploratory phases; from deployment onward, code tends to move into organized files.

Where does CRISP-DM fall short, and what do you do instead?

CRISP-DM says nothing about how work is scheduled, estimated, or staffed. It describes phases and outputs; it does not replace a delivery process, and teams normally run it inside their own cadence of planning and review.

It is also silent on model monitoring over time. Its deployment phase is about putting a result into use, not about tracking drift with modern tooling. In practice, teams add a monitoring step of their own, with a metric, a threshold, and a review date.

A third gap is governance: data privacy, access control, and documentation of lineage sit outside the six phases. They belong in the project plan, not in the methodology.

None of this makes the model useless. It means CRISP-DM answers "what has to be decided and delivered", and leaves "how the team works" and "how the model stays healthy" to other practices.

How do you practice the full cycle before working on a real project?

Reading the six phases takes minutes; recognizing them in your own work takes repetition. That is why an end-to-end project is a better exercise than six separate tutorials: you feel the loop back from evaluation to preparation when a feature turns out to be leaking information from the target.

The Python for Data Science and Analytics course at PA Analytics is built along that line. It runs from zero to advanced across three main modules — Basic, Intermediate, and Advanced — plus bonus modules, covering IDE and Jupyter Notebook setup, basic functions, NumPy and Pandas, user-defined functions, loops and conditionals, data visualization, data cleaning and preparation, and outlier detection. Machine learning comes next: linear and logistic regression, K-Means, SVM, Naive Bayes, decision trees, Random Forest, Gradient Boosting, XGBoost, LightGBM, feature selection, and cross-validation. It closes with a final project of exploratory analysis and end-to-end machine learning.

Lessons are recorded and watched at the student's own pace, exercises are guided, and real market projects make up the portfolio. Access is unlimited with no expiry date, and there is a completion certificate and an exclusive community for networking. No prior programming knowledge is required to start.

The price is R$ 470, or 12 installments of R$ 20.37 on a card, paid through the Hotmart checkout, which also accepts boleto. Full details are on python.paanalytics.net.

PhaseWhat it producesQuestion it answers
Business understandingObjective, success metric, constraintsWhich decision does this project support?
Data understandingData inventory, quality notes, coverageWhat data exists, and what does each column mean?
Data preparationModeling table, cleaning decisions, outlier treatmentIs the data fit for the question?
ModelingTrained models and a comparison of techniquesWhich technique fits the data and the goal?
EvaluationReview against the business objectiveDoes the result make sense beyond the metric?
DeploymentResult in use, documentation, maintenance planWho uses it, and how is it kept current?

Phases and outputs follow the public CRISP-DM reference model; the course topics cited on this page come from the course syllabus.

See the course and the end-to-end machine learning project

Secure payment via Hotmart, up to 12 installments.

Enroll now Product site

Frequently asked questions

Is CRISP-DM a tool or a Python library?

Neither. It is a public reference model with no software attached. You can follow it with a notebook, a spreadsheet, or a slide deck; what matters is that each phase has a recorded input and output.

Does CRISP-DM say how long each phase takes?

No. The model defines phases and exit criteria, not durations or calendars. Time per phase depends on the data and the question, and preparation is usually where an estimate slips.

Does CRISP-DM replace agile delivery?

No. It describes phases and outputs, not a management framework. Teams typically keep their own planning and review cadence and use the six phases to decide what enters scope and what counts as done.

Do I need CRISP-DM to train a model in Python?

No. You can fit a model without any methodology. The model matters when the work has to be explained to someone else, repeated later, or defended against the question of why this approach and not another.

Where does deployment fit if the analysis stays in a notebook?

Deployment means the result is put to use, not that the notebook disappears. Someone has to own it, have access to fresh data, and know when the result will be reviewed — that is the part the notebook does not provide by itself.

Ler em português →