MSc survey companion

Concept Drift Explorer

Compare three drift detectors on a simulation, your project benchmarks, or a stream you bring.

Stream timeline

Sample x True input mean True drift point Matched alarm × False alarm
Use the alarm log below the chart for sample indices and delays.

Detector comparison

A line from onset to a matched alarm shows its detection delay.

Scoring rules ↓
Detector variantAlarmsDetectedMissedFalse alarmsMean delay
Alarm log

Read the experiment

The browser variants isolate each detector’s core idea with a shared window size and check interval.

Unsupervised · Classifier-based

D3

A logistic classifier tries to tell recent inputs from older inputs. Higher held-out ROC-AUC means the windows are easier to distinguish.

One feature, three-fold ROC-AUC, threshold 0.72.

Gözüaçık et al. · D3 ↗

Supervised · Uncertainty-based

PUDD

Tracks how much probability a fixed classifier assigns to the true class. This can change before its prediction errors change.

Uses 1 − p(true class), fixed bins with sparse-bin pooling, and a nominal 1% Pearson χ² test per check. For file streams, the classifier is Gaussian Naive Bayes trained on the first two windows and frozen thereafter. The paper uses adaptive bucketing and explores multiple window splits.

Lu et al. · PUDD ↗

Unsupervised · Distribution-based

BNDM

Uses a Bayesian two-sample test to compare the input distributions across multiple resolutions.

One feature, depth-three Pólya tree anchored to standard normal quantiles, Bayes factor above 10 favors separate distributions.

Xuan et al. · BNDM ↗

Scoring the alarms

Every eight usable samples, each detector compares two adjacent trailing windows. An alarm fires on the first check above threshold in a run of consecutive crossings. The alarm time is the last sample used in that check.

The first alarm from onset through 150 samples after the event ends counts as a detection. A second event closes the earlier matching window. Delay is measured from onset, including for gradual and incremental drift. All remaining alarms count as false alarms, including duplicates. A missed event has no delay.

Elec2 and PowerSupply use your project’s benchmark files. They come without known drift points. Enter your own indices to score alarms against those points. Benchmark study ↗

For file streams, windows skip rows with unusable feature values. PUDD also skips missing labels. The timeline and alarm times use the original row indices.

Connect it to the survey

Switch to Label rule to change P(Y | X) while keeping the same observed inputs. With the same seed, D3 and BNDM produce exactly the same alarms regardless of label drift timing or severity. PUDD receives the current true label immediately.

Compare Gradual and Incremental at the same severity. The first mixes two regimes. The second moves through intermediate regimes. Both can change the stream too slowly for adjacent windows to separate clearly. Try a different window size to see how the trade-off changes.