Skip to main content
  1. Posts/

How to Structure Your Data Science Project

··293 words·2 mins·

πŸ“ Are your data science projects a mess of scattered folders and notebooks?

Organizing a project well isn’t just a nice-to-have β€” it’s what makes the difference between a reproducible project and one nobody (not even you) can understand six months later.

πŸ—ΊοΈ The 4 most-used frameworks:

  1. CRISP-DM (Cross-Industry Standard Process for Data Mining) Iterative cycle: Business Understanding β†’ Data Understanding β†’ Data Preparation β†’ Modeling β†’ Evaluation β†’ Deployment. The most used in industry.

  2. OSEMN (Obtain, Scrub, Explore, Model, iNterpret) Five logical steps: obtain data, clean it, explore it, model it, and interpret results.

  3. KDD (Knowledge Discovery in Databases) Covers the full lifecycle: selection β†’ preprocessing β†’ transformation β†’ data mining β†’ interpretation.

  4. SEMMA (Sample, Explore, Modify, Model, Assess) Model development focus: sample β†’ explore β†’ modify β†’ model β†’ assess.

⚠️ Common mistakes to avoid:

  • ❌ Hardcoded absolute paths (C:/Users/Juan/Downloads/data.csv) β†’ βœ… Use relative paths with pathlib
  • ❌ Everything in a single 100+ cell notebook β†’ βœ… Jupyter only for exploration, .py scripts for production
  • ❌ Versioning data in Git β†’ βœ… Use DVC (Data Version Control)
  • ❌ No README β†’ βœ… Document how to install, get data, and run the project

πŸ” Explanation in a nutshell

A “process framework” is simply a roadmap for your project. It tells you what to do first, what comes next, and how to evaluate progress. CRISP-DM is the most adopted in business, while OSEMN is more popular in academic tutorials. The key is to pick one and apply it consistently!

More information at the link πŸ‘‡

Also published on LinkedIn.
Juan Pedro Bretti Mandarano
Author
Juan Pedro Bretti Mandarano