Algorithm comparisons on the same datasets
Side-by-side runs on Iris, wine, and customer segments. Each page shows both methods, a metric table, and the plots from the published fits.
K-Means vs DBSCAN
K-Means vs DBSCAN: Side-by-Side on Benchmark and Sample Data
DBSCAN Clustering has the higher silhouette on Iris Flowers and Customer Segments; DBSCAN Clustering has no silhouette on Wine (UCI wine recognition), because that fit did not keep two groups; Noise rows show up on Iris Flowers and Wine (UCI wine recognition).
K-Means vs Hierarchical Clustering: Side-by-Side on Benchmark and Sample Data
K-Means Clustering has the higher silhouette on Iris Flowers and Customer Segments; Silhouette is within 0.01 on Wine (UCI wine recognition).
GMM vs K-Means: Side-by-Side on Benchmark and Sample Data
K-Means Clustering has the higher silhouette on Iris Flowers; Gaussian Mixture Model (GMM) has the higher silhouette on Customer Segments; Silhouette is within 0.01 on Wine (UCI wine recognition).
K-Means vs Spectral Clustering: Side-by-Side on Benchmark and Sample Data
Silhouette is within 0.01 on Iris Flowers, Wine (UCI wine recognition), and Customer Segments; K-Means Clustering agrees more with the held-out label on Iris Flowers and Customer Segments; Spectral Clustering agrees more with the held-out label on Wine (UCI wine recognition).
K-Means vs Fuzzy C-Means: Side-by-Side on Benchmark and Sample Data
Silhouette is within 0.01 on Iris Flowers, Wine (UCI wine recognition), and Customer Segments; Fuzzy C-Means Clustering agrees more with the held-out label on Iris Flowers and Customer Segments; Held-out agreement is within 0.01 on Wine (UCI wine recognition).
K-Means vs K-Medoids: Side-by-Side on Benchmark and Sample Data
K-Means Clustering has the higher silhouette on Wine (UCI wine recognition); K-Medoids Clustering has the higher silhouette on Customer Segments; Silhouette is within 0.01 on Iris Flowers.
K-Means vs Mean Shift: Side-by-Side on Benchmark and Sample Data
K-Means Clustering has the higher silhouette on Wine (UCI wine recognition); Mean Shift Clustering has the higher silhouette on Iris Flowers and Customer Segments.
DBSCAN vs HDBSCAN: Side-by-Side on Benchmark and Sample Data
DBSCAN Clustering has no silhouette on Wine (UCI wine recognition), because that fit did not keep two groups; Silhouette is within 0.01 on Iris Flowers and Customer Segments; Noise rows show up on Iris Flowers and Wine (UCI wine recognition).
Hierarchical Clustering vs DBSCAN: Side-by-Side on Benchmark and Sample Data
DBSCAN Clustering has the higher silhouette on Iris Flowers and Customer Segments; DBSCAN Clustering has no silhouette on Wine (UCI wine recognition), because that fit did not keep two groups; Noise rows show up on Iris Flowers and Wine (UCI wine recognition).
DBSCAN vs OPTICS: Side-by-Side on Benchmark and Sample Data
OPTICS Clustering has the higher silhouette on Iris Flowers and Customer Segments; DBSCAN Clustering has no silhouette on Wine (UCI wine recognition), because that fit did not keep two groups; Noise rows show up on Iris Flowers, Wine (UCI wine recognition), and Customer Segments.
KNN vs K-Means: Clustering vs Classification Explained
K-Means and KNN answer different questions; K-Means groups rows when the class column is absent, and KNN assigns a class to a new row when that column is known; adjusted Rand and hold-out accuracy are both shown because each one measures its own job.
Logistic Regression vs SVM: Side-by-Side on Benchmark and Sample Data
SVM has the higher hold-out accuracy on Iris Flowers; Hold-out accuracy is within 0.01 on Wine (UCI wine recognition) and Customer Segments.
Random Forest vs XGBoost: Side-by-Side on Benchmark and Sample Data
Random forest has the higher hold-out accuracy on Customer Segments; Hold-out accuracy is within 0.01 on Iris Flowers and Wine (UCI wine recognition).
Decision Tree vs Random Forest: Side-by-Side on Benchmark and Sample Data
Random forest has the higher hold-out accuracy on Iris Flowers, Wine (UCI wine recognition), and Customer Segments.
Random Forest vs Gradient Boosting: Side-by-Side on Benchmark and Sample Data
Random forest has the higher hold-out accuracy on Customer Segments; Gradient boosting has the higher hold-out accuracy on Iris Flowers; Hold-out accuracy is within 0.01 on Wine (UCI wine recognition).
XGBoost vs Gradient Boosting: Side-by-Side on Benchmark and Sample Data
Gradient boosting has the higher hold-out accuracy on Iris Flowers and Customer Segments; Hold-out accuracy is within 0.01 on Wine (UCI wine recognition).
PCA vs t-SNE: Side-by-Side on Benchmark and Sample Data
t-SNE keeps more original neighborhoods on Iris Flowers, Wine (UCI wine recognition), and Customer Segments; PCA still reports the variance those two axes keep: 95.8% on Iris Flowers, 55.4% on Wine (UCI wine recognition), 90.5% on Customer Segments.
UMAP vs t-SNE: Side-by-Side on Benchmark and Sample Data
t-SNE keeps more original neighborhoods on Wine (UCI wine recognition) and Customer Segments; Trustworthiness is within 0.01 on Iris Flowers.
PCA vs UMAP: Side-by-Side on Benchmark and Sample Data
UMAP keeps more original neighborhoods on Iris Flowers, Wine (UCI wine recognition), and Customer Segments; PCA still reports the variance those two axes keep: 95.8% on Iris Flowers, 55.4% on Wine (UCI wine recognition), 90.5% on Customer Segments.
PCA vs Factor Analysis: Side-by-Side on Benchmark and Sample Data
PCA keeps more original neighborhoods on Iris Flowers, Wine (UCI wine recognition), and Customer Segments; PCA still reports the variance those two axes keep: 95.8% on Iris Flowers, 55.4% on Wine (UCI wine recognition), 90.5% on Customer Segments; Factor analysis reports the column variance in the squared loadings: 84.6% on Iris Flowers, 48.4% on Wine (UCI wine recognition), 83.6% on Customer Segments, and mean noise variance 0.154 on Iris Flowers, 0.516 on Wine (UCI wine recognition), 0.164 on Customer Segments.
PCA vs SVD: Side-by-Side on Benchmark and Sample Data
Trustworthiness is within 0.01 on Iris Flowers, Wine (UCI wine recognition), and Customer Segments; PCA still reports the variance those two axes keep: 95.8% on Iris Flowers, 55.4% on Wine (UCI wine recognition), 90.5% on Customer Segments; Truncated SVD reports the same explained variance on these three tables.
