The data analytics life cycle
A clear, exam-oriented guide to the Data Analytics Life Cycle: stages, definitions, assumptions, diagrams to draw, step-by-step model answers, formulas to remember, common mistakes and short self-test questions.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Two or three sentences: where an engineer uses this.
The data analytics life cycle describes the repeatable sequence of activities that turn raw data into actionable insights and deployed systems. An engineer uses this when planning and executing projects such as predictive maintenance, user-behaviour analytics, fraud detection or dashboard delivery — it gives the correct order of work, the deliverables to produce, and the decisions that reduce wasted time and cost.
Key ideas
(Definitions are bolded the first time they appear.)
Data analytics life cycle: a defined, repeatable sequence of phases that take a problem from business question to deployed analytic solution and ongoing monitoring. It is iterative, not strictly linear.
Two common formal processes you must know and be able to state exactly:
- CRISP-DM (Cross Industry Standard Process for Data Mining): six phases — Business understanding, Data understanding, Data preparation, Modeling, Evaluation, Deployment. Assumes the project focuses on predictive or descriptive models and that stakeholders are available for business understanding and deployment decisions.
- KDD (Knowledge Discovery in Databases): roughly similar but emphasises data selection, preprocessing, transformation, data mining, and interpretation/evaluation. Assumes access to data and domain knowledge.
Phase-by-phase exact statements, assumptions and typical outputs (write these in exams as labelled steps):
- Problem definition / Business understanding — Precisely state the business question as measurable objectives and constraints. Deliverables: objective statement (target metric), success criteria (e.g., reduce churn by X%), cost/benefit rough estimate, stakeholders and data-access permissions. Assumption: stakeholders can provide domain context and approve metrics.
- Data acquisition / Data understanding — Collect and catalog data sources; produce a data dictionary and initial quality report. Deliverables: list of tables/files, schema, missing-value counts, basic statistics. Assumption: raw data exists and can be legally accessed.
- Data preparation (wrangling) — Clean, transform, join and create features. Deliverables: cleaned dataset, transformation code (reproducible), versioned pipeline. Assumption: transformations preserve the meaning required for the objective; all steps must be reproducible.
- Exploratory Data Analysis (EDA) — Use summary statistics and visualisations to test assumptions and form hypotheses. Deliverables: plots, correlations, distributions, identified anomalies. Assumption: EDA guides modeling choices; do not overinterpret small-sample patterns.
- Modeling / Analysis — Apply statistical or machine-learning methods and estimate parameters. Deliverables: trained models, hyperparameter settings, cross-validation results. Assumption: chosen models are appropriate for the data size, feature types and objective (see Predictive, descriptive and prescriptive analytics topic).
- Evaluation / Validation — Compare results to success criteria using hold-out data or A/B tests. Deliverables: evaluation metrics, error analysis, fairness and bias checks. Assumption: evaluation data is independent and representative.
- Deployment / Operationalize — Put the model or dashboard into production, integrate with systems. Deliverables: APIs, scheduled pipelines, monitoring dashboards, rollback plan. Assumption: deployment must meet latency, scale and security requirements.
- Monitoring and Maintenance — Track model/data drift and periodically re-train. Deliverables: drift alerts, retraining schedule, data-collection updates. Assumption: production data distribution may change over time.
- Communication and reporting — Produce clear reports and visualisations for stakeholders. Deliverables: executive summary, technical appendix, reproducible notebooks.
Key cross-cutting ideas:
- Iterativity: after Evaluation you may loop back to Data Preparation or Problem Definition — always describe why you loop and what you will change.
- Reproducibility: keep code, environment, data versions. Deliver scripts and container specs.
- Ethics and privacy: record data consent and apply anonymisation where required.
- Deliverables over tools: list outputs (data dictionary, model artefact) rather than tool names.
Diagram to draw in an exam: draw a circle with six or eight boxes placed around the circle and arrows following the order given by CRISP-DM (Business understanding → Data understanding → Data preparation → Modeling → Evaluation → Deployment) and an arrow from Deployment pointing back to Business understanding labelled "monitor, feedback, iterate". Label each box with one short deliverable example (e.g., under Data preparation write "cleaned CSV + pipeline code"). Also draw a smaller parallel vertical axis showing "Stakeholders" linking to Business understanding and Deployment, and another axis for "Infrastructure" linking to Deployment and Monitoring.
Formulas
(Each formula on its own line followed by symbol meanings and units/when it applies.)
ROI = (Gain - Cost) / Cost
- Gain: monetary benefit from the analytic solution (units: currency, INR). Cost: total project cost in INR. Applies to simple cost–benefit checks during Business understanding.
Payback period (years) = Cost / Annual net gain
- Cost: project cost in INR. Annual net gain: yearly benefit in INR. Use when estimating time to recover investment.
Project accuracy (example metric) = (correct predictions) / (total predictions)
- Unitless proportion between 0 and 1. Use only when the problem and class balance make accuracy meaningful (see Model evaluation topic).
Note: Most lifecycle items are process and management steps; memorise the sequence and deliverables rather than many equations.
Worked examples
Two model-exam answers. Write steps, formula before numbers, carry units, final answer bold.
Example 1 — Telecom churn project (model answer format): Question: Outline a full analytics life-cycle for a project whose goal is to reduce monthly customer churn for a telecom provider. Include a simple ROI estimate if a model is expected to reduce churn by 5% and each retained customer yields INR 1,200 per year. Project cost is INR 30,00,000. Answer (numbered steps):
- Business understanding: define objective — reduce monthly churn rate by 5 percentage points or reduce churn by 5% relative. Success criteria: net annual revenue increase ≥ project cost in 3 years. Stakeholders: marketing, billing, infra.
- Data understanding: list sources — CDRs, billing, CRM, complaints, network logs. Produce data dictionary and missingness table.
- Data preparation: join tables on customer ID, engineer churn label (left within 30 days of cancellation). Save pipeline in version control.
- EDA: compute churn rates by segment (prepaid/postpaid), visualise monthly trend; check imbalance.
- Modeling: choose classification model with class-weighting or resampling. Hold-out last 3 months for validation.
- Evaluation: measure uplift in retention via A/B test or predicted-retain strategy simulation.
- Deployment: expose scoring API, integrate with campaign manager.
- Monitoring: alert if predictive score distribution changes; schedule monthly retraining.
ROI calculation (use formula):
- Assume customer base = 100,000. Current churn = 5% monthly (5,000 customers/month). A 5% relative reduction in churn means retained customers per month = 0.05 × 5,000 = 250 customers/month.
- Annual retained customers = 250 × 12 = 3,000 customers/year.
- Annual gain = 3,000 × INR 1,200 = INR 36,00,000 per year.
- Project cost = INR 30,00,000.
Use
ROI = (Gain - Cost) / Cost-> numbers: - Gain = INR 36,00,000, Cost = INR 30,00,000.
- ROI = (36,00,000 - 30,00,000) / 30,00,000 = 6,00,000 / 30,00,000 = 0.2 => 20%.
Final statements: Payback period =
Cost / Annual net gain= 30,00,000 / 36,00,000 ≈ 0.833 years. Annual net benefit exceeds cost; project is justified with ~10 months payback.
Example 2 — Manufacturing predictive maintenance (short model answer): Question: Describe life-cycle steps and one decision rule for when to retrain a predictive-maintenance model. Answer:
- Business understanding: objective — reduce unplanned downtime by 30% while respecting safety rules.
- Data understanding: collect sensor streams, maintenance logs, failure labels. Check timestamp alignment.
- Data preparation: resample time series, remove sensors with >50% missingness, create features (rolling means).
- EDA: plot failure lead times; check seasonalities.
- Modeling: time-to-event or classification model; use time-based cross-validation.
- Evaluation: measure reduction in downtime in an offline simulation, use domain cost per hour of downtime.
- Deployment and monitoring: deploy model at edge, collect predicted risk distribution. Decision rule for retraining: retrain if mean absolute prediction error on new labelled failures increases by >15% or if feature distribution shift (KS test) p-value < 0.01 for more than 3 consecutive weeks.
Common mistakes
- Missing reproducibility: not saving transformation code, random seeds or environment details.
- No stakeholder sign-off on objectives and success criteria (leads to “done” models that are not used).
- Confusing deployment with visualization: deployment must include integration, monitoring and rollback plans.
- Using ROI without clearly defined assumptions (customer value, time horizons) — always state assumptions.
For your exam
Kinds of questions and what full-marks answers include:
- Definitions: state the defined term precisely (e.g., CRISP-DM phases). Full marks: exact list and one-line deliverable for each phase.
- Short notes: explain one phase (e.g., Data preparation) and list typical tools and outputs. Full marks: show steps, assumptions, and reproducibility points.
- Derivations / justification: why loop back from Evaluation to Data Preparation? Full marks: show at least two reasons (data leakage found, feature set insufficient) and give a concrete example.
- Numericals: small ROI and payback calculations. Full marks: show formula, substitute numbers with units, show arithmetic and final conclusion.
- Programs/diagrams: draw the lifecycle circular diagram described above and label deliverables. Full marks: include arrows showing iteration and stakeholder axis.
Quick check
Three short questions:
- Name the six phases of CRISP-DM in order.
- What is the key deliverable of the Data preparation phase?
- Write the ROI formula used in Business understanding.
Answers: 1) Business understanding, Data understanding, Data preparation, Modeling, Evaluation, Deployment. 2) A cleaned, versioned dataset and reproducible transformation pipeline. 3)
ROI = (Gain - Cost) / Cost.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?