Skip to content

SEMMA

SEMMA

Sample · Explore · Modify · Model · Assess

1. Overview of SEMMA — SAS’s Standard Data Mining Process, From Sampling Large Datasets to Model Assessment

    flowchart LR
    A["Large-scale<br/>source data"] --"Sample (S) →<br/>Explore (E) → Modify (M)"--> B["Analysis-ready dataset<br/>and predictive model"] --"Assess (A)<br/>business validation"--> C["Apply data mining<br/>results"]

    style A fill:#E3F2FD,stroke:#1976D2,color:#000
    style B fill:#FFF3E0,stroke:#F57C00,color:#000
    style C fill:#E8F5E9,stroke:#388E3C,color:#000
  

Definition: A standard data mining process proposed by SAS Institute that cycles through five stages — Sample, Explore, Modify, Model, and Assess — on large datasets to develop and validate predictive models.

Characteristics: (Focused on technical procedure) Centers on the technical procedure of data processing — the business-understanding stage is treated as a separate, preceding step. (Repeatable structure) Each stage can be repeated independently, maximizing analytical efficiency in large-scale data environments. (Tight SAS integration) Closely integrated with the SAS Enterprise Miner tool, and widely applied in practical analytics environments.


2. Core Structure of SEMMA

A. The Five-Stage Analysis Process

    flowchart LR
    S["Sample<br/>Extract a<br/>representative<br/>sample"]
    E["Explore<br/>Statistics/visualization<br/>Identify outliers/patterns"]
    M1["Modify<br/>Transform/create variables<br/>Handle missing values/outliers"]
    M2["Model<br/>Select algorithm<br/>Train/validate model"]
    A["Assess<br/>Measure performance<br/>Review business value"]

    S --> E --> M1 --> M2 --> A
    A -->|"Rerun if performance<br/>falls short"| S

    style S  fill:#E3F2FD,stroke:#1976D2,color:#000
    style E  fill:#F3E5F5,stroke:#7B1FA2,color:#000
    style M1 fill:#FFF3E0,stroke:#F57C00,color:#000
    style M2 fill:#FFEBEE,stroke:#D32F2F,color:#000
    style A  fill:#E8F5E9,stroke:#388E3C,color:#000
  
StageCore PurposeKey ActivitiesKey Techniques/Tools
S — SampleExtracting a representative sample for analytical efficiencyStratified sampling, random sampling, over-/under-samplingRandom sampling, SMOTE, stratified sampling
E — ExploreUnderstanding data distribution, patterns, and outliersEDA (exploratory data analysis), correlation analysis, visualizationHistograms, scatter plots, correlation matrices
M — ModifyTransforming data into a form optimized for analysisImputing missing values, handling outliers, feature engineering, normalizationStandardization, one-hot encoding, derived-variable creation
M — ModelTraining and optimizing a model for the prediction goalAlgorithm selection, cross-validation, hyperparameter tuningRegression, decision trees, SVM, ensembles
A — AssessFinal evaluation of model performance and business valueMeasuring accuracy/AUC/F1, business-impact analysisROC curve, lift chart, profit matrix

B. Comparison with CRISP-DM and Application Guidance

    flowchart TD
    subgraph R1[" "]
        direction LR
        C1["SEMMA<br/>Proposed by SAS Institute<br/>Focused on technical data-<br/>processing steps<br/>5 stages (S-E-M-M-A)"]
        C2["CRISP-DM<br/>An industry-standard process<br/>Includes business context<br/>6 stages (BU-DU-DP-M-E-D)"]
    end
    subgraph R2[" "]
        direction LR
        C3["Common ground<br/>Iterative structure<br/>Data prep, modeling,<br/>and evaluation cycle"]
        C4["Selection criteria<br/>SAS environment: SEMMA fits<br/>Cross-team collaboration:<br/>CRISP-DM<br/>Industry standard needed:<br/>CRISP-DM"]
    end

    style C1 fill:#E3F2FD,stroke:#1976D2,color:#000
    style C2 fill:#F3E5F5,stroke:#7B1FA2,color:#000
    style C3 fill:#FFF3E0,stroke:#F57C00,color:#000
    style C4 fill:#E8F5E9,stroke:#388E3C,color:#000
    style R1 fill:none,stroke:none
    style R2 fill:none,stroke:none
  
ComparisonSEMMACRISP-DM
Proposed bySAS InstituteAn industry consortium including SPSS, Daimler, and NCR
Number of stages5 stages (S-E-M-M-A)6 stages (BU-DU-DP-M-E-D)
Business understandingA separate, preceding step (not included)Explicitly included as stage 1
Deployment stageNot includedExplicitly included as Deployment
Tool integrationOptimized for SAS Enterprise MinerTool-independent
Best-fit environmentSAS-based analytics environments, technically focused projectsBusiness-data team collaboration, enterprise-wide analytics standardization

3. Expected Benefits and Application of the SEMMA Methodology

CategoryKey BenefitApplication in Practice
Structured analysisStandardizing the stages of a data mining projectCustomer-churn prediction and credit-scoring model development in finance, telecom, and retail
Quality assuranceImproved model reliability through thorough data preparation in the Explore/Modify stagesResolving class-imbalance issues through optimized sampling strategy
Iterative improvementGradually improving model performance through evaluation-driven cyclesTracing underperforming models back to their root-cause stage and rerunning
Leveraging the SAS ecosystemSeamless process integration with SAS Enterprise MinerBuilding automated analytics pipelines in SAS-based organizations