Results of this run
Mean Shift modes on Iris Flowers use bandwidth 1.6025 (quantile 0.3). Mode-seeking silhouette is 0.582, mode Calinski-Harabasz is 251.3, mode Davies-Bouldin is 0.593. The modes recover held-out species at adjusted Rand 0.568. 0 noise rows out of 150 remain. Mode 0 on Iris Flowers holds 100 rows (petal length (cm) 4.91 / petal width (cm) 1.68). Mode 1 on Iris Flowers holds 50 rows (petal length (cm) 1.46 / petal width (cm) 0.25). Mean Shift bandwidth check: bandwidth 1.6025 returns 0.582 with 2 groups on Iris Flowers. Mode plot variance kept: 95.8%.

| bandwidth | Silhouette | Clusters |
|---|---|---|
| 1.6025 | 0.582 | 2 |
from sklearn.cluster import MeanShift, estimate_bandwidth
from sklearn.preprocessing import StandardScaler
Xs = StandardScaler().fit_transform(X)
bandwidth = estimate_bandwidth(Xs, quantile=0.3, random_state=42)
labels = MeanShift(bandwidth=bandwidth, bin_seeding=True, cluster_all=True).fit_predict(Xs)
Who, how, and why
Method: StandardScaler, drop constant columns. Code version 3e4afc4b4352 (scripts/seo/build_explore_artifacts.py). scikit-learn 1.4.2. Seed 42. Dataset source: UCI Machine Learning Repository, Iris (Fisher, 1936). License: CC BY 4.0. The species column was held out of the fit and used only for the adjusted Rand score.
Results computed on 2026-11-02.
The results paragraph is filled from these numbers by a fixed template in the site code, so the scores can be checked against the same dataset in the tool.
Maintainer: nikolaou1982.
Contact: nick1982100@gmail.com.
