Automated and code-free development of a risk calculator using ChatGPT-4 for predicting diabetic retinopathy and macular edema without retinal imaging.

Eun Young Choi, Joon Yul Choi, Tae Keun Yoo
{"title":"Automated and code-free development of a risk calculator using ChatGPT-4 for predicting diabetic retinopathy and macular edema without retinal imaging.","authors":"Eun Young Choi, Joon Yul Choi, Tae Keun Yoo","doi":"10.1186/s40942-025-00638-9","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Diabetic retinopathy (DR) and macular edema (DME) are critical causes of vision loss in patients with diabetes. In many communities, access to ophthalmologists and retinal imaging equipment is limited, making screening for diabetic retinal complications difficult in primary health care centers. We investigated whether ChatGPT-4, an advanced large-language-model chatbot, can develop risk calculators for DR and DME using health check-up tabular data without the need for retinal imaging or coding experience.</p><p><strong>Methods: </strong>Data-driven prediction models were developed using medical history and laboratory blood test data from diabetic patients in the Korea National Health and Nutrition Examination Surveys (KNHANES). The dataset was divided into training (KNHANES 2017-2020) and validation (KNHANES 2021) datasets. ChatGPT-4 was used to build prediction formulas for DR and DME and developed a web-based risk calculator tool. Logistic regression analysis was performed by ChatGPT-4 to predict DR and DME, followed by the automatic generation of Hypertext Markup Language (HTML) code for the web-based tool. The performance of the models was evaluated using areas under the curves of receiver operating characteristic curve (ROC-AUCs).</p><p><strong>Results: </strong>ChatGPT-4 successfully developed a risk calculator for DR and DME, operational on a web browser without any coding experience. The validation set showed ROC-AUCs of 0.786 and 0.835 for predicting DR and DME, respectively. The performance of the ChatGPT-4 developed models was comparable to those created using various machine-learning tools.</p><p><strong>Conclusion: </strong>By utilizing ChatGPT-4 with code-free prompts, we overcame the technical barriers associated with using coding skills for developing prediction models, making it feasible to build a risk calculator for DR and DME prediction. Our approach offers an easily accessible tool for the risk prediction of DM and DME in diabetic patients during health check-ups, without the need for retinal imaging. Based on this automatically developed risk calculator using ChatGPT-4, health care workers will be able to effectively screen patients who require retinal examinations using only medical history and laboratory data. Future research should focus on validating this approach in diverse populations and exploring the integration of more comprehensive clinical data to enhance predictive performance.</p>","PeriodicalId":14289,"journal":{"name":"International Journal of Retina and Vitreous","volume":"11 1","pages":"11"},"PeriodicalIF":2.4000,"publicationDate":"2025-01-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11786427/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Retina and Vitreous","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1186/s40942-025-00638-9","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"OPHTHALMOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Diabetic retinopathy (DR) and macular edema (DME) are critical causes of vision loss in patients with diabetes. In many communities, access to ophthalmologists and retinal imaging equipment is limited, making screening for diabetic retinal complications difficult in primary health care centers. We investigated whether ChatGPT-4, an advanced large-language-model chatbot, can develop risk calculators for DR and DME using health check-up tabular data without the need for retinal imaging or coding experience.

Methods: Data-driven prediction models were developed using medical history and laboratory blood test data from diabetic patients in the Korea National Health and Nutrition Examination Surveys (KNHANES). The dataset was divided into training (KNHANES 2017-2020) and validation (KNHANES 2021) datasets. ChatGPT-4 was used to build prediction formulas for DR and DME and developed a web-based risk calculator tool. Logistic regression analysis was performed by ChatGPT-4 to predict DR and DME, followed by the automatic generation of Hypertext Markup Language (HTML) code for the web-based tool. The performance of the models was evaluated using areas under the curves of receiver operating characteristic curve (ROC-AUCs).

Results: ChatGPT-4 successfully developed a risk calculator for DR and DME, operational on a web browser without any coding experience. The validation set showed ROC-AUCs of 0.786 and 0.835 for predicting DR and DME, respectively. The performance of the ChatGPT-4 developed models was comparable to those created using various machine-learning tools.

Conclusion: By utilizing ChatGPT-4 with code-free prompts, we overcame the technical barriers associated with using coding skills for developing prediction models, making it feasible to build a risk calculator for DR and DME prediction. Our approach offers an easily accessible tool for the risk prediction of DM and DME in diabetic patients during health check-ups, without the need for retinal imaging. Based on this automatically developed risk calculator using ChatGPT-4, health care workers will be able to effectively screen patients who require retinal examinations using only medical history and laboratory data. Future research should focus on validating this approach in diverse populations and exploring the integration of more comprehensive clinical data to enhance predictive performance.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用ChatGPT-4自动开发无代码风险计算器,用于预测糖尿病视网膜病变和黄斑水肿,无需视网膜成像。
背景:糖尿病视网膜病变(DR)和黄斑水肿(DME)是糖尿病患者视力丧失的重要原因。在许多社区,获得眼科医生和视网膜成像设备的机会有限,这使得在初级卫生保健中心筛查糖尿病视网膜并发症变得困难。我们研究了ChatGPT-4,一个先进的大语言模型聊天机器人,是否可以在不需要视网膜成像或编码经验的情况下,使用健康检查表格数据开发DR和DME的风险计算器。方法:利用韩国国家健康和营养检查调查(KNHANES)中糖尿病患者的病史和实验室血液检查数据,建立数据驱动的预测模型。数据集分为训练(KNHANES 2017-2020)和验证(KNHANES 2021)数据集。ChatGPT-4用于构建DR和DME的预测公式,并开发了基于web的风险计算器工具。通过ChatGPT-4进行逻辑回归分析来预测DR和DME,然后为基于web的工具自动生成超文本标记语言(HTML)代码。采用受试者工作特征曲线(roc - auc)曲线下面积评价模型的性能。结果:ChatGPT-4成功开发了DR和DME风险计算器,无需任何编码经验即可在web浏览器上运行。验证集预测DR和DME的roc - auc分别为0.786和0.835。ChatGPT-4开发的模型的性能与使用各种机器学习工具创建的模型相当。结论:通过使用ChatGPT-4无代码提示,我们克服了使用编码技能开发预测模型的技术障碍,使构建DR和DME预测的风险计算器成为可能。我们的方法为糖尿病患者在健康检查中预测DM和DME的风险提供了一种容易获得的工具,而不需要视网膜成像。基于ChatGPT-4自动开发的风险计算器,卫生保健工作者将能够仅使用病史和实验室数据有效地筛选需要进行视网膜检查的患者。未来的研究应侧重于在不同人群中验证这种方法,并探索更全面的临床数据的整合,以提高预测性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
3.50
自引率
4.30%
发文量
81
审稿时长
19 weeks
期刊介绍: International Journal of Retina and Vitreous focuses on the ophthalmic subspecialty of vitreoretinal disorders. The journal presents original articles on new approaches to diagnosis, outcomes of clinical trials, innovations in pharmacological therapy and surgical techniques, as well as basic science advances that impact clinical practice. Topical areas include, but are not limited to: -Imaging of the retina, choroid and vitreous -Innovations in optical coherence tomography (OCT) -Small-gauge vitrectomy, retinal detachment, chromovitrectomy -Electroretinography (ERG), microperimetry, other functional tests -Intraocular tumors -Retinal pharmacotherapy & drug delivery -Diabetic retinopathy & other vascular diseases -Age-related macular degeneration (AMD) & other macular entities
期刊最新文献
C3a and C5a plasma concentrations in patients with diabetic retinopathy: a cross-sectional study. Guiding syringe selection for intravitreal injections: injectability and stability analysis of compounded pegcetacoplan (SYFOVRE) and the broader implications for high-viscosity ophthalmic therapies. Simplified suprachoroidal buckling: sclerotomy-free viscoelastic injection with a novel device in porcine eyes. Injecting OVD temporarily seal the edge of the retinectomy to prevent subretinal perfluorocarbon liquid droplets retention and retinal slippage during fluid-air exchange. Correction: Clinical outcomes of fibrin glue assisted hemostasis in persistent intraoperative optic disc bleeding.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1