Skip to main content
Home › Categories › Artificial Intelligence & Computing › Data Science Lifecycle: Questions, Data, Models, and Evaluation

Data Science Lifecycle: Questions, Data, Models, and Evaluation

Author: ZUVDEX Team 4 min read
data science lifecycle data science process data science workflow CRISP-DM phases data analysis lifecycle model deployment monitoring

The data science lifecycle is the iterative work of framing a decision, understanding and preparing data, analyzing or modeling it, evaluating results, and communicating or deploying an appropriate outcome. The steps are not a one-way recipe: evidence at any stage can change the question, data needs, or method.

Key Highlights

  • Start with a decision or question and define what evidence would count as useful.
  • Data collection, cleaning, sampling, and labeling often determine what a model can validly claim.
  • Separate training, validation, and test data according to how the system will be used; prevent leakage.
  • Deployment requires documentation, monitoring, privacy controls, and a plan for change or retirement.

Frame the question before choosing a model

Begin with the person who needs to act and the decision the analysis might inform. “Build a model” is not a useful objective by itself. Clarify the outcome, time horizon, constraints, cost of errors, and what would change if the analysis were available. A simple descriptive analysis or rule may answer the question more reliably than machine learning.

Define success before inspecting a final test set. Decide which metric matters, what baseline is meaningful, and which groups or operating conditions need separate review. Identify legal, privacy, and ethical limits on data use. A well-framed problem prevents a technically sophisticated model from optimizing a proxy that does not serve the real need.

Understand, prepare, and analyze data

Record where data came from, how it was collected, what each field means, who may be missing, and how labels were produced. Inspect duplicates, missing values, measurement changes, and sampling bias. Cleaning is not neutral: dropping an unusual record or converting a missing value can change the population represented by the analysis. Document choices so another practitioner can reproduce and challenge them.

Split data according to the deployment scenario. Forecasting usually needs time-ordered validation; repeated records for one person may need grouped splits; randomly separating near-duplicate images can inflate results. Fit preprocessing only on training data. Establish a baseline, then compare models with a validation set and metrics suited to the costs of errors. See feature engineering and evaluation metrics.

Evaluate, communicate, and maintain the result

Evaluate on data that was not used to choose the model. Report uncertainty, limitations, and subgroup performance—not just one headline score. Explain what the model does not measure and distinguish correlation from a causal effect. Visualizations should show scale and uncertainty honestly; conclusions should not exceed the evidence.

Deployment is a separate decision. A model may be delivered as a report, a batch process, an API, or a dashboard, and each route has different failure modes. Monitor data quality, drift, latency, and user impact. Keep versioned code, data lineage, and rollback plans. CRISP-DM describes business understanding, data understanding, preparation, modeling, evaluation, and deployment as connected phases that may be revisited. For production ML practices, see MLOps and model monitoring and Google Cloud’s linked guide.

Further reading: IBM’s CRISP-DM guide.

Reproducibility, uncertainty, and decision impact

A result should be reproducible from documented code, data versions, assumptions, and analytical choices. Versioning helps explain why a model changed and whether the new result is comparable to the old one. For experiments, record the population, assignment method, outcome definitions, exclusions, and analysis plan. For observational data, describe plausible confounders and avoid presenting association as proof of causation. If an estimate is uncertain, communicate a range or confidence interval and explain what it means in context.

Data science also includes deciding when not to model. A small or biased dataset may not support the desired conclusion; a measurement may not represent the outcome people care about; and an automated recommendation can create feedback that changes the data later collected. Before deployment, consider whether a report, policy change, or additional data collection would be more useful than a predictive model.

When a project serves people, include privacy, fairness, accessibility, and stakeholder review in the lifecycle. Document who approved the use and how someone can contest a consequential decision. The model is evidence for a decision process, not the decision maker. After launch, monitor both technical performance and whether the result still serves its original purpose.

FAQs

Is the data science lifecycle always linear?

No. Data projects are iterative. Data quality may force a revised question, evaluation may reveal missing groups, or deployment constraints may require a simpler model.

What is CRISP-DM?

CRISP-DM is a process model for data-mining projects with business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The phases can repeat; it is a guide, not a mandatory software methodology.

Why should a test set remain untouched until final evaluation?

Repeatedly using the test set to choose features or models leaks information from the evaluation into the development process. A holdout that remains unused until final assessment gives a more credible estimate of performance on new data.

References & Sources

  • IBM Documentation — CRISP-DM Help Overview https://www.ibm.com/docs/en/SS3RA7_18.5.0/pdf/ModelerCRISPDM.pdf
  • Google Cloud — MLOps: Continuous delivery and automation pipelines in machine learning https://docs.cloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning
  • scikit-learn — Getting Started https://scikit-learn.org/stable/getting_started.html