Introduction
Data mining projects often operate under the assumption of static environments. However, in real-world applications, context is fluid. Data distributions shift, business requirements evolve, and new constraints emerge. Traditional methodologies like CRISP-DM, while widely adopted, do not explicitly account for these dynamic changes.
The Problem: Static Models in Dynamic Contexts
When environmental shifts occur—such as covariate shift or changes in business costs—the standard response is often to scrap existing models and restart the project. This "start-from-scratch" approach is resource-intensive and often unnecessary. CASP-DM (Context-Aware Standard Process for Data Mining) addresses this by introducing a framework for model reuse and adaptation.
Methodology: Extending CRISP-DM
CASP-DM is a process-level extension of the classic six-phase CRISP-DM framework. It introduces "Reframing," a technical concept where a "versatile model" is built to capture broad patterns and then specialized for specific deployment contexts through parameter adjustment or model revision.
Phase Enhancements
CASP-DM injects new tasks and outputs into the familiar CRISP-DM structure:
- Business Understanding: Incorporates specific goals for reusability and adaptability.
- Data Preparation: Includes tasks to identify and represent different contexts (e.g., via parameterization).
- Modelling: Adds a "Reframing" branch and a "Model Revision" task for incremental or lifelong learning scenarios.
- Deployment: Includes "Context Change Monitoring" to detect performance degradation due to environmental shifts.
Case Study: MoReBikeS
The framework was validated using the MoReBikeS (Model Reuse with Bike Rental Station Data) challenge, predicting bike availability in Valencia, Spain. The scenario involved using data from 200 "old" stations to predict availability at 75 "new" stations with limited history. By using CASP-DM to "reuse" models from established stations, the "Reframing" approach—selecting and weighting models from similar stations—consistently outperformed traditional retraining from scratch.
Conclusion
CASP-DM offers a middle path between doing nothing and starting over when environments change. By treating context as a first-class citizen, it enables the creation of versatile models capable of adapting to the complexities of real-world data science workflows. While the original CRISP-DM is no longer actively maintained, CASP-DM aims to foster a community of practice to evolve these standards for modern data science.
Summary updated