IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0288000.html
   My bibliography  Save this article

clusterBMA: Bayesian model averaging for clustering

Author

Listed:
  • Owen Forbes
  • Edgar Santos-Fernandez
  • Paul Pao-Yen Wu
  • Hong-Bo Xie
  • Paul E Schwenn
  • Jim Lagopoulos
  • Lia Mills
  • Dashiell D Sacks
  • Daniel F Hermens
  • Kerrie Mengersen

Abstract

Various methods have been developed to combine inference across multiple sets of results for unsupervised clustering, within the ensemble clustering literature. The approach of reporting results from one ‘best’ model out of several candidate clustering models generally ignores the uncertainty that arises from model selection, and results in inferences that are sensitive to the particular model and parameters chosen. Bayesian model averaging (BMA) is a popular approach for combining results across multiple models that offers some attractive benefits in this setting, including probabilistic interpretation of the combined cluster structure and quantification of model-based uncertainty. In this work we introduce clusterBMA, a method that enables weighted model averaging across results from multiple unsupervised clustering algorithms. We use clustering internal validation criteria to develop an approximation of the posterior model probability, used for weighting the results from each model. From a combined posterior similarity matrix representing a weighted average of the clustering solutions across models, we apply symmetric simplex matrix factorisation to calculate final probabilistic cluster allocations. In addition to outperforming other ensemble clustering methods on simulated data, clusterBMA offers unique features including probabilistic allocation to averaged clusters, combining allocation probabilities from ‘hard’ and ‘soft’ clustering algorithms, and measuring model-based uncertainty in averaged cluster allocation. This method is implemented in an accompanying R package of the same name. We use simulated datasets to explore the ability of the proposed technique to identify robust integrated clusters with varying levels of separation between subgroups, and with varying numbers of clusters between models. Benchmarking accuracy against four other ensemble methods previously demonstrated to be highly effective in the literature, clusterBMA matches or exceeds the performance of competing approaches under various conditions of dimensionality and cluster separation. clusterBMA substantially outperformed other ensemble methods for high dimensional simulated data with low cluster separation, with 1.16 to 7.12 times better performance as measured by the Adjusted Rand Index. We also explore the performance of this approach through a case study that aims to identify probabilistic clusters of individuals based on electroencephalography (EEG) data. In applied settings for clustering individuals based on health data, the features of probabilistic allocation and measurement of model-based uncertainty in averaged clusters are useful for clinical relevance and statistical communication.

Suggested Citation

  • Owen Forbes & Edgar Santos-Fernandez & Paul Pao-Yen Wu & Hong-Bo Xie & Paul E Schwenn & Jim Lagopoulos & Lia Mills & Dashiell D Sacks & Daniel F Hermens & Kerrie Mengersen, 2023. "clusterBMA: Bayesian model averaging for clustering," PLOS ONE, Public Library of Science, vol. 18(8), pages 1-23, August.
  • Handle: RePEc:plo:pone00:0288000
    DOI: 10.1371/journal.pone.0288000
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0288000
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0288000&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0288000?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Tiago M. Fragoso & Wesley Bertoli & Francisco Louzada, 2018. "Bayesian Model Averaging: A Systematic Review and Conceptual Classification," International Statistical Review, International Statistical Institute, vol. 86(1), pages 1-28, April.
    2. Wehrens, Ron & Buydens, Lutgarde M. C., 2007. "Self- and Super-organizing Maps in R: The kohonen Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 21(i05).
    3. J. A. Hartigan & M. A. Wong, 1979. "A K‐Means Clustering Algorithm," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 28(1), pages 100-108, March.
    4. E Fong & C C Holmes, 2020. "On the marginal likelihood and cross-validation," Biometrika, Biometrika Trust, vol. 107(2), pages 489-496.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Roland Brown & Yingling Fan & Kirti Das & Julian Wolfson, 2021. "Iterated multisource exchangeability models for individualized inference with an application to mobile sensor data," Biometrics, The International Biometric Society, vol. 77(2), pages 401-412, June.
    2. Kolos Cs. Ágoston & Marianna E.-Nagy, 2024. "Mixed integer linear programming formulation for K-means clustering problem," Central European Journal of Operations Research, Springer;Slovak Society for Operations Research;Hungarian Operational Research Society;Czech Society for Operations Research;Österr. Gesellschaft für Operations Research (ÖGOR);Slovenian Society Informatika - Section for Operational Research;Croatian Operational Research Society, vol. 32(1), pages 11-27, March.
    3. Zhang, Weibin & Zha, Huazhu & Zhang, Shuai & Ma, Lei, 2023. "Road section traffic flow prediction method based on the traffic factor state network," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 618(C).
    4. Hyemin Han, 2024. "Bayesian Model Averaging and Regularized Regression as Methods for Data-Driven Model Exploration, with Practical Considerations," Stats, MDPI, vol. 7(3), pages 1-13, July.
    5. Emanuel Kopp, 2018. "Determinants of U.S. Business Investment," IMF Working Papers 2018/139, International Monetary Fund.
    6. Beck, Krzysztof & Wyszyński, Mateusz & Dubel, Marcin, 2025. "Bayesian dynamic systems modelling. Bayesian model averaging for dynamic panels with weakly exogenous regressors," MPRA Paper 124689, University Library of Munich, Germany.
    7. Liao, Jun & Zou, Guohua, 2020. "Corrected Mallows criterion for model averaging," Computational Statistics & Data Analysis, Elsevier, vol. 144(C).
    8. Mark F. J. Steel, 2020. "Model Averaging and Its Use in Economics," Journal of Economic Literature, American Economic Association, vol. 58(3), pages 644-719, September.
    9. repec:osf:osfxxx:vct9y_v1 is not listed on IDEAS
    10. Jelle R Dalenberg & Luca Nanetti & Remco J Renken & René A de Wijk & Gert J ter Horst, 2014. "Dealing with Consumer Differences in Liking during Repeated Exposure to Food; Typical Dynamics in Rating Behavior," PLOS ONE, Public Library of Science, vol. 9(3), pages 1-11, March.
    11. Muhannad Mohammed Alfehaid, 2025. "Integrating Hard and Green Infrastructure for Sustainable Tourism: A Spatial Analysis of Saudi Regions," Sustainability, MDPI, vol. 17(20), pages 1-15, October.
    12. Custodio João, Igor & Lucas, André & Schaumburg, Julia & Schwaab, Bernd, 2023. "Dynamic clustering of multivariate panel data," Journal of Econometrics, Elsevier, vol. 237(2).
    13. Gnidchenko, A., 2025. "World trade concentration and product market segregation," Journal of the New Economic Association, New Economic Association, vol. 66(1), pages 36-53.
    14. Preetam Debasish Saha Roy & Prabhat Kumar Tiwari, 2019. "Knowledge discovery and predictive accuracy comparison of different classification algorithms for mould level fluctuation phenomenon in thin slab caster," Journal of Intelligent Manufacturing, Springer, vol. 30(1), pages 241-254, January.
    15. Kumar, Sandeep & Chakraverty, S. & Sethi, Narayan, 2025. "Assessing changes in wealth index using primary survey data," Socio-Economic Planning Sciences, Elsevier, vol. 98(C).
    16. Díaz, Juan D. & Hansen, Erwin & Cabrera, Gabriel, 2021. "Economic drivers of commodity volatility: The case of copper," Resources Policy, Elsevier, vol. 73(C).
    17. Utkarsh J. Dang & Michael P.B. Gallaugher & Ryan P. Browne & Paul D. McNicholas, 2023. "Model-Based Clustering and Classification Using Mixtures of Multivariate Skewed Power Exponential Distributions," Journal of Classification, Springer;The Classification Society, vol. 40(1), pages 145-167, April.
    18. Clarissa Amico & Mattia Brambilla & Roberto Cigolini, 2025. "Quantitative assessment of the profitability of next shoring strategy in global supply chains," Flexible Services and Manufacturing Journal, Springer, vol. 37(3), pages 1013-1056, September.
    19. Joanna F Dipnall & Julie A Pasco & Michael Berk & Lana J Williams & Seetal Dodd & Felice N Jacka & Denny Meyer, 2016. "Into the Bowels of Depression: Unravelling Medical Symptoms Associated with Depression by Applying Machine-Learning Techniques to a Community Based Population Sample," PLOS ONE, Public Library of Science, vol. 11(12), pages 1-19, December.
    20. Bernd Scherer & Diogo Judice & Stephan Kessler, 2010. "Price reversals in global equity markets," Journal of Asset Management, Palgrave Macmillan, vol. 11(5), pages 332-345, December.
    21. Mihai MUTASCU & Nicolae-Bogdan IANC & ALBERT LESSOUA, 2021. "Public debt and inequality in Sub-Saharan Africa: the case of EMCCA and WAEMU countries," LEO Working Papers / DR LEO 2909, Orleans Economics Laboratory / Laboratoire d'Economie d'Orleans (LEO), University of Orleans.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0288000. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.