[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-433618-105":59,"doc-detail-433618-en":130,"doc-similar-433618":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","application-of-machine-learning-algorithms-to-identify-risk-factors-for-depression-in-type-2-diabetes-mellitus-patients-a-taiwan-diabetes-registry-study","Application of Machine Learning Algorithms to Identify Risk Factors for Depression in Type 2 Diabetes Mellitus Patients - A Taiwan Diabetes Registry Study","","Research analyzed routinely collected variables from a Taiwan Diabetes Registry to estimate risk factors for depression among people with type 2 diabetes mellitus. Clinically meaningful depression was defined using a PHQ-9 score cut-off of 15. Missing information was imputed with a median or k-nearest neighbors, or removed. Logistic regression, random forest, and decision tree models identified quality of life as the strongest predictor; removing related items highlighted bloating and autoimmune disease. Model accuracy reached about 82.5%–83.1%.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/application-of-machine-learning-algorithms-to-identify-risk-factors-for-depression-in-type-2-diabetes-mellitus-patients-a-taiwan-diabetes-registry-study/433618/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/application-of-machine-learning-algorithms-to-identify-risk-factors-for-depression-in-type-2-diabetes-mellitus-patients-a-taiwan-diabetes-registry-study/433618.png","ImageObject",300,407,{"name":92,"@type":93},"Finn","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-09-29",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How was depression defined in this study of type 2 diabetes patients?","Question",{"text":112,"@type":113},"Depression was defined as a PHQ-9 score of 15 or higher, using 15 as the cut-off for clinically meaningful depression.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which machine learning models were used to identify depression risk factors?",{"text":117,"@type":113},"Logistic regression, random forest, and decision tree models were used. Each algorithm’s accuracy was evaluated using a testing set.",{"name":119,"@type":110,"acceptedAnswer":120},"What factors were most strongly associated with depression in the results?",{"text":121,"@type":113},"Quality of life (QoL) was the most important factor. After removing QoL-related variables, bloating and autoimmune disease became the greatest contributing factors, and QoL remained decisive in the decision tree model.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},433618,1790695862,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":34,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144,"preview_page_count":19,"preview_urls":145},34359740700684,"https://ap-avatar.wpscdn.com/avatar/1f400023980c374ae676?_k=1777273430885731487","J Chin MedAssoc  \nOriginal article  \nApplication of machine learning algorithms to identify risk factors for depression in type 2 diabetes mellitus patients: A Taiwan diabetes registry study  \nYu-Wen Sua, Wayne Huey-Herng Sheub,c,d, Chii-Min Hwuc, Yu-Cheng Chene, Jung-Fu Chenf, Yun-Shing Pengg,h, Chien-Ning Huangi, Yi-Jen Hungd,j, Harn-Shen Chenc,k,*  \naGraduate Institute of Biomedical Electronics and Bioinformatics, National Taiwan University, Taipei, Taiwan, ROC; bInstitute of Molecular and Genomic Medicine, National Health Research Institutes, Miaoli, Taiwan, ROC; cSection of Endocrinology and Metabolism, Department of Medicine, Taipei Veterans General Hospital, Taipei, Taiwan, ROC; dDepartment and Graduate Institute of Biochemistry, National Defense Medical Center, Taipei, Taiwan, ROC; eDivision of Endocrinology and Metabolism, Department of Internal Medicine, Changhua Christian Hospital Yuanlin Branch, Changhua, Taiwan, ROC; fDepartment of Endocrinology and Metabolism, Kaohsiung Chang Gung Memorial Hospital, Kaohsiung, Taiwan, ROC; gDivision of Endocrinology and Metabolism, Department of Internal Medicine, Chiayi Chang Gung Memorial Hospital, Chiayi, Taiwan, ROC; hCollege of Medicine, Chang Gung University, Taoyuan, Taiwan, ROC; iInstitute of Medicine, Chung Shang Medical University Hospital, Taichung, Taiwan, ROC; jDivision of Endocrinology and Metabolism, Tri-Service General Hospital, National Defense Medical Center, Taipei, Taiwan, ROC; kSchool of Medicine, College of Medicine, National Yang Ming Chiao Tung University, Taipei, Taiwan, ROC  \nAbstract  \nBackground: We analyzed variables reported during routine clinical practice using a registrational database to estimate risk factors for depression in people with type 2 diabetes mellitus.  \nMethods: A Patient Health Questionnaire (PHQ-9) score of 15 was selected as the cut-off for clinically meaningful depression. Missing data was either filled in with a median value, the k-nearest neighbors’ method, or the entire variable was removed. Logistic regression, random forest, and decision tree machine learning models were used to decide which factors were most relevant to depression. The accuracy of each algorithm was evaluated with a testing set.  \nResults: When all variables were included in the logistic regression model, the area under the receiver operating characteristic curve was 0.81. In the random forest model, the most important factor was quality of life (QoL) . Upon removing QoL-related variables, bloating, and autoimmune disease became the greatest contributing factors. Model accuracy was 83. 1% . In the decision tree model, QoL was also observed as the most decisive factor. Upon removing QoL variables, bloating was the first node. Model accuracy was 82.5% . Conclusion: QoL, bloating, and autoimmune disease were the most important factors associated with depression in type 2 diabetes mellitus patients.  \nKeywords: Depression; Risk factor; Taiwan; Type 2 diabetes mellitus  \n[www.ejcma.org](www.ejcma.org) 513  \n\u003Cz10.1097/JCMA.0000000000001250>  \nSu et al. J Chin MedAssoc  \nLay Summary: This study used data from the Taiwan Diabetes Registry to explore what factors may increase the risk of depression in people with type 2 diabetes. Researchers applied machine learning techniques—including logistic regression, random forest, and decision tree models—to analyze a wide range of health and lifestyle information. Depression was defined as a score of 15 or higher on the Patient Health Questionnaire (PHQ-9). Among all the factors studied, poor quality of life (QoL) was found to be the strongest predictor of depression. When QoL-related items were removed from the analysis, bloating and autoimmune diseases emerged as key contributors. These results suggest that both physical symptoms and overall life satisfaction play a critical role in the mental health of people with diabetes. The machine learning models were able to predict depression with around 82%–83% accuracy, highligh","cbCait92JE5GayA2","https://ap.wps.com/l/cbCait92JE5GayA2","pdf",1433013,"English","# Abstract\n## Background\n## Methods\n## Results\n## Conclusion\n# 1. Introduction\n# 2. Methods\n## 2.1. Taiwan Diabetes Registry database","[{\"question\":\"How was depression defined in this study of type 2 diabetes patients?\",\"answer\":\"Depression was defined as a PHQ-9 score of 15 or higher, using 15 as the cut-off for clinically meaningful depression.\"},{\"question\":\"Which machine learning models were used to identify depression risk factors?\",\"answer\":\"Logistic regression, random forest, and decision tree models were used. Each algorithm’s accuracy was evaluated using a testing set.\"},{\"question\":\"What factors were most strongly associated with depression in the results?\",\"answer\":\"Quality of life (QoL) was the most important factor. After removing QoL-related variables, bloating and autoimmune disease became the greatest contributing factors, and QoL remained decisive in the decision tree model.\"}]","Application of Machine Learning Algorithms to Identify Risk Factors for Depression in Type 2 Diabetes Mellitus Patients - A Taiwan Diabetes Registry Study | PDF",1790664825,18,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9384e0f55ca842eae623ef7e55d835f5.webp",983,1310,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3eaea9ac002c4594d5286c55d752f376.webp",982,1309,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/91f6cb9da949da192432e7a626e0cc3f.webp",981,1308,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/bd550d38464949c566fd264ddebfaed8.webp",980,1306,{"list":163,"token":66},[164,171,178,184,190,196,203,209,215,221],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":40,"create_tm":170},441368,"Prevalence and Associated Factors of Depression and Anxiety in Saudi Adults with Type 1 Diabetes - Across-sectional Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924564588/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=m85ooDT7Q4yEdKoHUypx9hYmMbg%3D","prevalence-and-associated-factors-of-depression-and-anxiety-in-saudi-adults-with-type-1-diabetes-across-sectional-study",12,1790695743,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":40,"create_tm":177},437972,"Prevalence and Associated Factors of Diabetic Retinopathy in Type 2 Diabetes Mellitus Patients at a Specialized Hospital in Asmara, Eritrea - A Cross-Sectional Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229923963762/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=jsMOzTSLzCxT%2BRBYX6PEvzl4N6Q%3D","prevalence-and-associated-factors-of-diabetic-retinopathy-in-type-2-diabetes-mellitus-patients-at-a-specialized-hospital-in-asmara-eritrea-a-cross-sectional-study",13,1790683690,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":44,"category_name":40,"create_tm":183},384139,"Associations between depression and cancer risk among patients with diabetes mellitus - A population-based cohort study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229915802698/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=pkGDIxrJa8uxEE0oa6qC2F39uvo%3D","associations-between-depression-and-cancer-risk-among-patients-with-diabetes-mellitus-a-population-based-cohort-study",1790261352,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":44,"category_name":40,"create_tm":189},437956,"Elevated Uric Acid/Albumin Ratio Predicts Poor Coronary Collateral Circulation in Type 2 Diabetic Patients With Stable Coronary Artery Disease","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229924172514/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=U64zQWIQed%2BaJVrIH54FyQCHLZ0%3D","elevated-uric-acidalbumin-ratio-predicts-poor-coronary-collateral-circulation-in-type-2-diabetic-patients-with-stable-coronary-artery-disease",1790683649,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":169,"category_name":40,"create_tm":195},459170,"Prevalence and Predictors of Anxiety and Depression in Indian Patients with Type 2 Diabetes - Study Findings and Risk Factors","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925463166/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=fKXSnREiDifkaCmk0%2BQbaOPfFgA%3D","prevalence-and-predictors-of-anxiety-and-depression-in-indian-patients-with-type-2-diabetes-study-findings-and-risk-factors",1790755373,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":40,"create_tm":202},407405,"Examining the association between the Mediterranean diet and depression: a cross-sectional study in Lebanon","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229921113374/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=Z2unH83Yvzm6MzFei%2BhnrEQwfKg%3D","examining-the-association-between-the-mediterranean-diet-and-depression-a-cross-sectional-study-in-lebanon",22,1790573666,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":44,"category_name":40,"create_tm":208},466678,"Abdominal Obesity Indices as Predictors of Psychiatric Morbidity in a Large-Scale Taiwanese Cohort","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925868266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=Cmmj6xQpJvLtIrnFLA8D7W7vvQQ%3D","abdominal-obesity-indices-as-predictors-of-psychiatric-morbidity-in-a-large-scale-taiwanese-cohort",1790771673,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":34,"category_name":40,"create_tm":214},384450,"Non-obese or lean non-alcoholic fatty liver disease was associated with increased risk of cancer in patients with type 2 diabetes mellitus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229915831532/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=R91LX3pP3hciTs%2Fj5swSqCLjlkA%3D","non-obese-or-lean-non-alcoholic-fatty-liver-disease-was-associated-with-increased-risk-of-cancer-in-patients-with-type-2-diabetes-mellitus",1790263348,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":29,"category_name":40,"create_tm":220},419448,"Predictors of Depression in Asthma Patients in an Indian Referral Hospital - Research article","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922307271/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=VN0GM52HkT4SxQOe0gyljAaXBfE%3D","predictors-of-depression-in-asthma-patients-in-an-indian-referral-hospital-research-article",1790617044,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":39,"category_name":40,"create_tm":226},458164,"Elevated neutrophil-to-lymphocyte ratio and the incidence of autoimmune diseases: evidence from a large prospective cohort study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925651208/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241299&Signature=9P8vfe3rNxpgOlpXpsorpld3owo%3D","elevated-neutrophil-to-lymphocyte-ratio-and-the-incidence-of-autoimmune-diseases-evidence-from-a-large-prospective-cohort-study",1790751878]