Introduction
The rapid adoption of machine learning (ML) in industrial applications has outpaced the development of robust process models. While the Cross-Industry Standard Process for Data Mining (CRISP-DM) has served as a cornerstone for data science for decades, it is increasingly ill-suited for the complexities of modern ML. Current estimates suggest that 75% to 85% of ML projects fail to meet expectations, often due to process-related failures rather than technical mathematical hurdles. This paper introduces CRISP-ML(Q), an enhanced framework designed to address these gaps by integrating a dedicated monitoring phase and a risk-based quality assurance (QA) methodology.
The CRISP-ML(Q) Lifecycle
CRISP-ML(Q) expands the traditional lifecycle into six distinct phases, reflecting the iterative and "living" nature of ML applications:
- Business and Data Understanding: These phases are merged to ensure that business goals are grounded in data feasibility from the outset. The feasibility of a project is often determined by the quality and size of the training sample set early on.
- Data Preparation: This involves the selection, cleaning, and feature engineering necessary to create high-quality training sets.
- Modeling: The focus here is on selecting and training algorithms while balancing performance with constraints like explainability and resource consumption.
- Evaluation: Models are validated against business success criteria using unseen data. The paper defines a Quality Measure Matrix consisting of six properties: Performance, Robustness, Scalability, Explainability, Model Complexity, and Resource Demand.
- Deployment: This phase covers the transition to production hardware and user acceptance testing.
- Monitoring and Maintenance: A critical addition that addresses model degradation and "drift" in production environments as real-world data distributions change over time.
Quality Assurance: The "Q" Factor
The defining characteristic of CRISP-ML(Q) is its integrated quality assurance methodology. Rather than treating QA as a final checklist, it is embedded into every task within the lifecycle to ensure reproducibility and reliability.
As illustrated in the process flow, each phase begins by defining requirements and instantiating specific tasks. Practitioners then identify potential risks—such as selection bias or hardware limitations—and select appropriate QA methods to mitigate them. This iterative loop ensures that if risks cannot be feasibly managed, the project can backtrack or be halted before significant resources are wasted.
Comparative Analysis
CRISP-ML(Q) provides a more comprehensive structure than existing industry models. While frameworks from Microsoft (Amershi et al.) or Google (Breck et al.) offer valuable insights into specific parts of the pipeline, they often overlook the initial business alignment or lack a formal, repeatable QA methodology.
The comparison highlights how CRISP-ML(Q) bridges the gap between data mining and software engineering for ML. By including "Monitoring & Maintenance" and explicitly linking business understanding to data preparation, it provides a holistic view of the ML lifecycle that is missing in the original CRISP-DM and only partially addressed in other modern frameworks.
Conclusion and Future Work
CRISP-ML(Q) represents a significant step toward standardizing the ML development process. By shifting the focus from purely algorithmic performance to a risk-driven, end-to-end methodology, it aims to increase the success rate of industrial ML projects. Future work will focus on expanding the framework to include deeper legal and ethical considerations and adapting it for safety-critical domains where even more rigorous validation is required.
Summary updated