SEMMA
SAS data-mining process
SEMMA is a data-mining process framework developed by SAS Institute around its Enterprise Miner software. Its name is an acronym for five phases: Sample, Explore, Modify, Model, and Assess. The framework systematically organizes the analytical core of a project, focusing on understanding the data and building reliable models rather than on business framing or deployment concerns. It provides a repeatable, documentable workflow that is widely used in academic and applied data-mining research.
What the Framework Is and Why It Matters
SEMMA is a five-phase methodology framework designed to reflect the workflow of SAS Institute's Enterprise Miner data-mining platform. Unlike comprehensive life-cycle models such as CRISP-DM, SEMMA deliberately excludes organizational stages such as business understanding or model deployment, focusing exclusively on the analytical process itself. This narrow scope makes the framework practical for rapid model development and experimental data exploration. It is also inherently iterative: findings from a later phase can feed back into an earlier one, allowing the analyst to refine the process continuously.
The Five Phases in Order
Sample: A representative, manageable subset is drawn from the full dataset. Explore: Relationships among variables, outliers, and patterns are examined through visualization and descriptive statistics. Modify: Variables are transformed, new features are engineered, missing values are handled, and the data is shaped into a form suitable for modeling. Model: Appropriate algorithms such as decision trees, logistic regression, or neural networks are applied to build predictive or classification models. Assess: Model accuracy and generalizability are measured on a holdout or test set using metrics such as ROC curves, confusion matrices, and profit or cost charts.
How It Is Applied in Practice
In practice, SEMMA is most commonly applied through the drag-and-drop diagram interface of SAS Enterprise Miner, where each phase corresponds to a set of nodes. However, the framework can be followed independently of any specific software. Analysts first understand their data through exploratory analysis, document feature-engineering steps, experiment with multiple algorithms, and then compare models at the Assess phase. Iterative use is standard: poor performance in Assess typically prompts a return to Modify or Explore to refine preprocessing. In academic work, decisions made at each SEMMA phase should be explicitly documented and reported.
Common Pitfalls and Misconceptions
The most common error is treating SEMMA as equivalent to CRISP-DM; SEMMA intentionally omits business understanding and deployment phases. A second misconception is viewing the Sample phase as optional; a non-representative sample invalidates every subsequent phase. The Modify phase is frequently underestimated, yet gaps in feature engineering directly cap model performance. Finally, rushing through Assess using only accuracy is misleading: on imbalanced datasets, additional metrics such as ROC-AUC or F1 are essential. Analysts should also guard against data leakage during the Modify phase, ensuring that transformation parameters are learned only from training data.
Key terms
- Sample
- Phase of drawing a representative subset from a large dataset.
- Explore
- Phase of discovering variable relationships and anomalies via visualization.
- Modify
- Phase of transforming variables and engineering new features for modeling.
- Model
- Phase of applying predictive or classification algorithms to the prepared data.
- Assess
- Phase of measuring model accuracy and generalizability on holdout test data.