Mixture of Experts & Dendrogram Merging
Fit one over-stuffed mixture of experts, then drag a cut down a dendrogram and watch redundant experts merge until the right number appears.
One over-fitted mixture of experts: the gating clusters the inputs (point colour), each expert fits a local regression (mean curve + band), and the number of components is read off a dendrogram of mixing measures with no model sweeps. The data is generated from the selected gate's own mechanism (softmax-gated SGMoE, or Gaussian-gated), so each gate is fit well-specified; the sliders set the true number of experts K0, the sample size N, and the ε-contamination. The data starts ε-contaminated (Laplace outliers): the classical likelihood criteria AIC / BIC / ICL over-select, while the consistent dendrogram selection criterion (DSC, gold line) holds near the true count; drag ε to 0 for the clean case. You can also compare the paper's rate-weighted merge against average-linkage agglomerative clustering.