{
  "slug": "smote",
  "term": "SMOTE",
  "aliases": [
    "Synthetic Minority Over-sampling Technique",
    "synthetic minority oversampling"
  ],
  "definition": "SMOTE is an oversampling method that creates synthetic minority-class feature vectors by interpolating between a minority example and selected minority-class nearest neighbors.",
  "note": "For numeric features, the original construction uses x_new = x + u * (x_neighbor - x), with u drawn between 0 and 1, so each synthetic point lies on the segment between 2 minority examples in feature space. The reference implementation used 5 nearest neighbors; at 200% oversampling, 2 of those 5 are chosen and 1 sample is generated toward each. The output is feature-space samples, not new observed drive failures. [chawla2002]\n\nFit resampling inside each training fold, leaving validation and test observations unresampled. In a documented census-income example, resampling before cross-validation reported a balanced accuracy of 0.724 that fell to 0.698 on a held-out set, while resampling inside a pipeline gave 0.732 and 0.727. [resampling-pitfalls]",
  "status": "shipping",
  "advantages": [
    {
      "text": "Compared with replicating minority examples, interpolation led decision trees to learn larger, less specific minority regions and smaller trees in the original mammography experiments.",
      "citationIds": [
        "chawla2002"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Interpolation assumes a meaningful feature representation and neighborhood; a synthetic SMART vector is not evidence that a physical drive followed that trajectory.",
      "citationIds": [
        "chawla2002"
      ]
    },
    {
      "text": "Oversampling is a training choice; it neither sets the split design nor guarantees improved deployed precision.",
      "citationIds": [
        "resampling-pitfalls"
      ]
    }
  ],
  "related": [
    "class-prevalence",
    "precision",
    "recall",
    "smart",
    "average-precision"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-23",
  "citations": [
    {
      "id": "chawla2002",
      "title": "Chawla, Bowyer, Hall and Kegelmeyer. SMOTE: Synthetic Minority Over-sampling Technique. JAIR 16 (2002), 321-357, Section 4.2.",
      "url": "https://www.cs.cmu.edu/afs/cs/project/jair/pub/volume16/chawla02a-html/node6.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "resampling-pitfalls",
      "title": "imbalanced-learn 0.14: Common pitfalls and recommended practices, Section 9.1, resampling leakage.",
      "url": "https://imbalanced-learn.org/0.14/common_pitfalls.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-symptoms",
      "title": "Hesela: SSD symptoms, classification and forward-time evaluation boundaries.",
      "url": "https://hesela.com/analyses/ssd-failures-datacenter-symptoms/#classification-boundary",
      "accessed": "2026-10-13"
    }
  ],
  "provenance": [
    "chawla2002 re-read 2026-10-23, section 4.2, for the interpolation rule, the 5-neighbor setting and the 200% example.",
    "resampling-pitfalls re-read 2026-10-23, section 9.1, for the leaked and pipeline balanced-accuracy figures.",
    "A companion analysis on forward-time evaluation is listed but not used in prose."
  ]
}
