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

SMOTE-CD: SMOTE for compositional data

Author

Listed:
  • Teo Nguyen
  • Kerrie Mengersen
  • Damien Sous
  • Benoit Liquet

Abstract

Compositional data are a special kind of data, represented as a proportion carrying relative information. Although this type of data is widely spread, no solution exists to deal with the cases where the classes are not well balanced. After describing compositional data imbalance, this paper proposes an adaptation of the original Synthetic Minority Oversampling TEchnique (SMOTE) to deal with compositional data imbalance. The new approach, called SMOTE for Compositional Data (SMOTE-CD), generates synthetic examples by computing a linear combination of selected existing data points, using compositional data operations. The performance of the SMOTE-CD is tested with three different regressors (Gradient Boosting tree, Neural Networks, Dirichlet regressor) applied to two real datasets and to synthetic generated data, and the performance is evaluated using accuracy, cross-entropy, F1-score, R2 score and RMSE. The results show improvements across all metrics, but the impact of oversampling on performance varies depending on the model and the data. In some cases, oversampling may lead to a decrease in performance for the majority class. However, for the real data, the best performance across all models is achieved when oversampling is used. Notably, the F1-score is consistently increased with oversampling. Unlike the original technique, the performance is not improved when combining oversampling of the minority classes and undersampling of the majority class. The Python package smote-cd implements the method and is available online.

Suggested Citation

  • Teo Nguyen & Kerrie Mengersen & Damien Sous & Benoit Liquet, 2023. "SMOTE-CD: SMOTE for compositional data," PLOS ONE, Public Library of Science, vol. 18(6), pages 1-19, June.
  • Handle: RePEc:plo:pone00:0287705
    DOI: 10.1371/journal.pone.0287705
    as

    Download full text from publisher

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

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

    File URL: https://libkey.io/10.1371/journal.pone.0287705?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. Fan Xia & Jun Chen & Wing Kam Fung & Hongzhe Li, 2013. "A Logistic Normal Multinomial Regression Model for Microbiome Compositional Data Analysis," Biometrics, The International Biometric Society, vol. 69(4), pages 1053-1063, December.
    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. Duo Jiang & Thomas Sharpton & Yuan Jiang, 2021. "Microbial Interaction Network Estimation via Bias-Corrected Graphical Lasso," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 13(2), pages 329-350, July.
    2. Can Cui & Susheela P. Singh & Ana‐Maria Staicu & Brian J. Reich, 2021. "Bayesian variable selection for high‐dimensional rank data," Environmetrics, John Wiley & Sons, Ltd., vol. 32(7), November.
    3. Srinivasan, Arun & Xue, Lingzhou & Zhan, Xiang, 2023. "Identification of microbial features in multivariate regression under false discovery rate control," Computational Statistics & Data Analysis, Elsevier, vol. 181(C).
    4. Peyhardi, Jean & Fernique, Pierre & Durand, Jean-Baptiste, 2021. "Splitting models for multivariate count data," Journal of Multivariate Analysis, Elsevier, vol. 181(C).
    5. Wangshu Tu & Sanjeena Subedi, 2023. "Logistic Normal Multinomial Factor Analyzers for Clustering Microbiome Data," Journal of Classification, Springer;The Classification Society, vol. 40(3), pages 638-667, November.
    6. Tao Wang & Hongyu Zhao, 2017. "A Dirichlet-tree multinomial regression model for associating dietary nutrients with gut microorganisms," Biometrics, The International Biometric Society, vol. 73(3), pages 792-801, September.
    7. Tyler A Joseph & Liat Shenhav & Joao B Xavier & Eran Halperin & Itsik Pe’er, 2020. "Compositional Lotka-Volterra describes microbial dynamics in the simplex," PLOS Computational Biology, Public Library of Science, vol. 16(5), pages 1-22, May.
    8. Tu, Wangshu & Browne, Ryan & Subedi, Sanjeena, 2024. "A mixture of logistic skew-normal multinomial models," Computational Statistics & Data Analysis, Elsevier, vol. 196(C).
    9. Zhigang Li & Katherine Lee & Margaret R. Karagas & Juliette C. Madan & Anne G. Hoen & A. James O’Malley & Hongzhe Li, 2018. "Conditional Regression Based on a Multivariate Zero-Inflated Logistic-Normal Model for Microbiome Relative Abundance Data," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 10(3), pages 587-608, December.
    10. Mei Dong & Longhai Li & Man Chen & Anthony Kusalik & Wei Xu, 2020. "Predictive analysis methods for human microbiome data with application to Parkinson’s disease," PLOS ONE, Public Library of Science, vol. 15(8), pages 1-18, August.

    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:0287705. 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.