[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-128656-en":3,"doc-seo-128656-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},128656,962084925782,"Ava Thompson","https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc",8,"Research & Report","The Impact of the SMOTE Method on Machine Learning and Ensemble Learning Performance Results in Addressing Class Imbalance in Data Used for Predicting Total Testosterone Deficiency in Type 2 Diabetes Patients","Diabetes Mellitus requires long-term metabolic management, and hypogonadism serves as a clinical and biochemical indicator of testosterone deficiency. This study analyzes how machine learning (ML) and ensemble learning (EL) classifiers predict testosterone deficiency in patients with type 2 diabetes while addressing class imbalance. Using 3397 patients (1886 with type 2 diabetes), the workflow applies outlier and missing-value analyses plus SMOTE for minority-class synthetic sampling. Optimized traditional ML and EL models (MLP, RF, ELM, LR; ADA, XGBoost, SGB) are evaluated via grid search and stratified k-fold cross-validation. After SMOTE, sensitivity rises across classifiers, some models lose diagnostic accuracy, specificity drops, and F1 generally increases.","Article  \nThe Impact of the SMOTE Method on Machine Learning and Ensemble Learning Performance Results in Addressing Class Imbalance in Data Used for Predicting Total Testosterone Deficiency in Type 2 Diabetes Patients  \nMehmet Kivrak 1,*, Ugur Avci 2, Hakki Uzun 3 and Cuneyt Ardic 4  \nCitation: Kivrak, M.; Avci, U.; Uzun, H.; Ardic, C. The Impact of the SMOTE Method on Machine Learning and Ensemble Learning Performance Results in Addressing Class Imbalance in Data Used for Predicting Total Testosterone Deficiency in Type 2 Diabetes Patients. Diagnostics 2024, 14, 2634. [https://doi.org/10.3390/](https://doi.org/10.3390/)[ ](https://doi.org/10.3390/)diagnostics14232634  \nAcademic Editor: Dechang Chen  \nReceived: 15 October 2024  \nRevised: 13 November 2024  \nAccepted: 18 November 2024  \nPublished: 22 November 2024  \nCopyright: © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ([https://](https://)[ ](https://)[creativecommons.org/licenses/by/](creativecommons.org/licenses/by/)[ ](creativecommons.org/licenses/by/)[4.0/](4.0/)) .  \n1 Faculty of Medicine, Biostatistics and Medical Informatics, Recep Tayyip Erdogan University, Rize 53100, Türkiye  \n2 Faculty of Medicine, Endocrinology and Metabolism, Recep Tayyip Erdogan University, Rize 53100, Türkiye; [ugur.avci@erdogan.edu.tr](ugur.avci@erdogan.edu.tr)  \n3 Faculty of Medicine, Urology, Recep Tayyip Erdogan University, Rize 53100, Türkiye; [hakki.uzun@erdogan.edu.tr](hakki.uzun@erdogan.edu.tr)  \n4 Faculty of Medicine, Primary Care Physician, Recep Tayyip Erdogan University, Rize 53100, Türkiye; [cuneyt.ardic@erdogan.edu.tr](cuneyt.ardic@erdogan.edu.tr)  \n* [Correspondence: mehmet.kivrak@erdogan.edu.tr](Correspondence: mehmet.kivrak@erdogan.edu.tr)  \nAbstract: Background and Objective: Diabetes Mellitus is a long-term, multifaceted metabolic condition that necessitates ongoing medical management. Hypogonadism is a syndrome that is a clinical and/or biochemical indicator of testosterone deficiency. Cross-sectional studies have reported that 20–80.4% of all men with Type 2 diabetes have hypogonadism, and Type 2 diabetes is related to low testosterone. This study presents an analysis of the use of ML and EL classifiers in predicting testosterone deficiency. In our study, we compared optimized traditional ML classifiers and three EL classifiers using grid search and stratified k-fold cross-validation. We used the SMOTE method for the class imbalance problem. Methods: This database contains 3397 patients for the assessment of testosterone deficiency. Among these patients, 1886 patients with Type 2 diabetes were included in the study. In the data preprocessing stage, firstly, outlier/excessive observation analyses were performed with LOF and missing value analyses were performed with random forest. The SMOTE is a method for generating synthetic samples of the minority class. Four basic classifiers, namely MLP, RF, ELM and LR, were used as first-level classifiers. Tree ensemble classifiers, namely ADA, XGBoost and SGB, were used as second-level classifiers. Results: After the SMOTE, while the diagnostic accuracy decreased in all base classifiers except ELM, sensitivity values increased in all classifiers. Similarly, while the specificity values decreased in all classifiers, F1 score increased. The RF classifier gave more successful results on the base-training dataset. The most successful ensemble classifierin the training dataset was the ADA classifier in the original data and in the SMOTE data. In terms of the testing data, XGBoost is the most suitable model for your intended use in evaluating model performance. XGBoost, which exhibits a balanced performance especially when the SMOTE is used, can be preferred to correct class imbalance. Conclusions: The SMOTE is used to correct the class imbalance in the original data. However, as seen in this st","cbCaikrYGMh73Lnp","https://ap.wps.com/l/cbCaikrYGMh73Lnp","pdf",2504845,1,16,"English","en",105,"# Abstract\n## Background and Objective\n## Methods\n## Results\n## Conclusions\n# Introduction\n## Diabetes Mellitus and Type 2 Diabetes\n## Hypogonadism and Testosterone Deficiency\n# Methods and Data Preparation\n## Dataset and Participants\n## Preprocessing (LOF and Missing Values)\n## SMOTE for Class Imbalance\n## Base and Ensemble Classifiers","[{\"question\":\"What problem does the SMOTE method address in this study?\",\"answer\":\"SMOTE is used to correct class imbalance by generating synthetic samples of the minority class for better minority-class prediction.\"},{\"question\":\"Which classifiers are evaluated for predicting total testosterone deficiency?\",\"answer\":\"The study tests base classifiers (MLP, RF, ELM, LR) and ensemble classifiers as second-level models (ADA, XGBoost, SGB).\"},{\"question\":\"What changes occur in performance metrics after applying SMOTE?\",\"answer\":\"After SMOTE, sensitivity increases in all classifiers, specificity decreases in all classifiers, diagnostic accuracy decreases in most base models except ELM, and F1 score increases overall.\"}]","The Impact of the SMOTE Method on Machine Learning and Ensemble Learning Performance Results in Addressing Class Imbalance in Data Used for Predicting Total Testosterone Deficiency in Type 2 Diabetes Patients | PDF",1786002358,40,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"the-impact-of-the-smote-method-on-machine-learning-and-ensemble-learning-performance-results-in-addressing-class-imbalance-in-data-used-for-predicting-total-testosterone-deficiency-in-type-2-diabetes-patients","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/the-impact-of-the-smote-method-on-machine-learning-and-ensemble-learning-performance-results-in-addressing-class-imbalance-in-data-used-for-predicting-total-testosterone-deficiency-in-type-2-diabetes-patients/128656/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-23","2026-08-06",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What problem does the SMOTE method address in this study?","Question",{"text":76,"@type":77},"SMOTE is used to correct class imbalance by generating synthetic samples of the minority class for better minority-class prediction.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"Which classifiers are evaluated for predicting total testosterone deficiency?",{"text":81,"@type":77},"The study tests base classifiers (MLP, RF, ELM, LR) and ensemble classifiers as second-level models (ADA, XGBoost, SGB).",{"name":83,"@type":74,"acceptedAnswer":84},"What changes occur in performance metrics after applying SMOTE?",{"text":85,"@type":77},"After SMOTE, sensitivity increases in all classifiers, specificity decreases in all classifiers, diagnostic accuracy decreases in most base models except ELM, and F1 score increases overall.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":93},[94,98,102,106,111,116,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":46,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":112,"doc_module":4,"doc_module_name":46,"category_name":113,"show_sort_weight":114,"slug":115},6,"Technology",50,"technology",{"id":117,"doc_module":4,"doc_module_name":46,"category_name":118,"show_sort_weight":29,"slug":119},7,"Healthcare","healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":107,"slug":138},19,"General","general"]