{"title":"使用 ChatGPT 和自动机器学习诊断糖尿病视网膜病变的用户友好型方法","authors":"S. Saeed Mohammadi MD, Quan Dong Nguyen MD, MSc","doi":"10.1016/j.xops.2024.100495","DOIUrl":null,"url":null,"abstract":"<div><h3>Purpose</h3><p>To assess the capabilities of Chat Generative Pre-trained Transformer (ChatGPT) and Vertex AI in executing code-free preprocessing, training machine learning (ML) models, and analyzing the data.</p></div><div><h3>Design</h3><p>Evaluation of diagnostic test or technology.</p></div><div><h3>Participants</h3><p>ChatGPT and Vetrex AI as publicly available large language model and ML platform, respectively.</p></div><div><h3>Methods</h3><p>ChatGPT was employed to improve the resolution of fundus photography images from the Methods to Evaluate Segmentation and Indexing Techniques in the field of Retinal Ophthalmology (Messidor-2) open-source dataset using the Contrast Limited Adaptive Histogram Equalization (CLAHE) technique by Fiji software. Subsequently, Vertex AI, an automated ML (AutoML) platform, was utilized to develop 2 classification models. The first model served as a binary classifier for detecting the presence of diabetic retinopathy (DR), while the second determined its severity. Finally, ChatGPT was used to provide scripts for R and Python programming languages for data analysis and was also directly employed in analyzing the data in a code-free method.</p></div><div><h3>Main Outcome Measures</h3><p>Evaluating the utility of ChatGPT in generating scripts for preprocessing images using Fiji and analyzing data across Python and R and assessing its potential in analyzing data through a code-free method. Investigating the capabilities of Vertex AI to train image classification models for detection of DR and its severity.</p></div><div><h3>Results</h3><p>Two ML models were trained using 1740 images from the Messidor-2 database. The first model, designed to detect the severity of DR, achieved an area under the precision-recall curve (AUPRC) of 0.81, with a precision rate of 81.81% and recall of 72.83%. The second model, tailored for the detection of the presence of DR, recorded a precision and recall of 84.48% with an AUPRC of 0.90.</p></div><div><h3>Conclusions</h3><p>ChatGPT and Vertex AI have the potential to enable physicians without coding expertise to preprocess images, analyze data, and train ML models.</p></div><div><h3>Financial Disclosure(s)</h3><p>Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.</p></div>","PeriodicalId":74363,"journal":{"name":"Ophthalmology science","volume":null,"pages":null},"PeriodicalIF":3.2000,"publicationDate":"2024-02-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2666914524000319/pdfft?md5=1f01a32cb89e3c515a76ac3d1f7e962a&pid=1-s2.0-S2666914524000319-main.pdf","citationCount":"0","resultStr":"{\"title\":\"A User-friendly Approach for the Diagnosis of Diabetic Retinopathy Using ChatGPT and Automated Machine Learning\",\"authors\":\"S. Saeed Mohammadi MD, Quan Dong Nguyen MD, MSc\",\"doi\":\"10.1016/j.xops.2024.100495\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><h3>Purpose</h3><p>To assess the capabilities of Chat Generative Pre-trained Transformer (ChatGPT) and Vertex AI in executing code-free preprocessing, training machine learning (ML) models, and analyzing the data.</p></div><div><h3>Design</h3><p>Evaluation of diagnostic test or technology.</p></div><div><h3>Participants</h3><p>ChatGPT and Vetrex AI as publicly available large language model and ML platform, respectively.</p></div><div><h3>Methods</h3><p>ChatGPT was employed to improve the resolution of fundus photography images from the Methods to Evaluate Segmentation and Indexing Techniques in the field of Retinal Ophthalmology (Messidor-2) open-source dataset using the Contrast Limited Adaptive Histogram Equalization (CLAHE) technique by Fiji software. Subsequently, Vertex AI, an automated ML (AutoML) platform, was utilized to develop 2 classification models. The first model served as a binary classifier for detecting the presence of diabetic retinopathy (DR), while the second determined its severity. Finally, ChatGPT was used to provide scripts for R and Python programming languages for data analysis and was also directly employed in analyzing the data in a code-free method.</p></div><div><h3>Main Outcome Measures</h3><p>Evaluating the utility of ChatGPT in generating scripts for preprocessing images using Fiji and analyzing data across Python and R and assessing its potential in analyzing data through a code-free method. Investigating the capabilities of Vertex AI to train image classification models for detection of DR and its severity.</p></div><div><h3>Results</h3><p>Two ML models were trained using 1740 images from the Messidor-2 database. The first model, designed to detect the severity of DR, achieved an area under the precision-recall curve (AUPRC) of 0.81, with a precision rate of 81.81% and recall of 72.83%. The second model, tailored for the detection of the presence of DR, recorded a precision and recall of 84.48% with an AUPRC of 0.90.</p></div><div><h3>Conclusions</h3><p>ChatGPT and Vertex AI have the potential to enable physicians without coding expertise to preprocess images, analyze data, and train ML models.</p></div><div><h3>Financial Disclosure(s)</h3><p>Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.</p></div>\",\"PeriodicalId\":74363,\"journal\":{\"name\":\"Ophthalmology science\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":3.2000,\"publicationDate\":\"2024-02-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.sciencedirect.com/science/article/pii/S2666914524000319/pdfft?md5=1f01a32cb89e3c515a76ac3d1f7e962a&pid=1-s2.0-S2666914524000319-main.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Ophthalmology science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2666914524000319\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"OPHTHALMOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ophthalmology science","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666914524000319","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"OPHTHALMOLOGY","Score":null,"Total":0}
引用次数: 0
摘要
目的评估 Chat Generative Pre-trained Transformer(ChatGPT)和 Vertex AI 在执行无代码预处理、训练机器学习(ML)模型和分析数据方面的能力。方法采用ChatGPT,利用Fiji软件的对比度限制自适应直方图均衡化(CLAHE)技术,提高《视网膜眼科领域分割和索引技术评估方法》(Messidor-2)开源数据集中眼底摄影图像的分辨率。随后,自动多语言(AutoML)平台 Vertex AI 被用来开发两个分类模型。第一个模型作为二元分类器,用于检测是否存在糖尿病视网膜病变(DR),第二个模型用于确定其严重程度。最后,ChatGPT 被用来为 R 和 Python 编程语言提供用于数据分析的脚本,还被直接用于以无代码方法分析数据。主要成果措施评估 ChatGPT 在使用 Fiji 生成图像预处理脚本以及在 Python 和 R 中分析数据方面的实用性,并评估其通过无代码方法分析数据的潜力。研究顶点人工智能(Vertex AI)训练图像分类模型以检测 DR 及其严重程度的能力。结果使用 Messidor-2 数据库中的 1740 幅图像训练了两个 ML 模型。第一个模型旨在检测 DR 的严重程度,其精确度-召回曲线下面积 (AUPRC) 为 0.81,精确率为 81.81%,召回率为 72.83%。结论ChatGPT和Vertex AI有望让没有编码专业知识的医生也能预处理图像、分析数据和训练ML模型。
A User-friendly Approach for the Diagnosis of Diabetic Retinopathy Using ChatGPT and Automated Machine Learning
Purpose
To assess the capabilities of Chat Generative Pre-trained Transformer (ChatGPT) and Vertex AI in executing code-free preprocessing, training machine learning (ML) models, and analyzing the data.
Design
Evaluation of diagnostic test or technology.
Participants
ChatGPT and Vetrex AI as publicly available large language model and ML platform, respectively.
Methods
ChatGPT was employed to improve the resolution of fundus photography images from the Methods to Evaluate Segmentation and Indexing Techniques in the field of Retinal Ophthalmology (Messidor-2) open-source dataset using the Contrast Limited Adaptive Histogram Equalization (CLAHE) technique by Fiji software. Subsequently, Vertex AI, an automated ML (AutoML) platform, was utilized to develop 2 classification models. The first model served as a binary classifier for detecting the presence of diabetic retinopathy (DR), while the second determined its severity. Finally, ChatGPT was used to provide scripts for R and Python programming languages for data analysis and was also directly employed in analyzing the data in a code-free method.
Main Outcome Measures
Evaluating the utility of ChatGPT in generating scripts for preprocessing images using Fiji and analyzing data across Python and R and assessing its potential in analyzing data through a code-free method. Investigating the capabilities of Vertex AI to train image classification models for detection of DR and its severity.
Results
Two ML models were trained using 1740 images from the Messidor-2 database. The first model, designed to detect the severity of DR, achieved an area under the precision-recall curve (AUPRC) of 0.81, with a precision rate of 81.81% and recall of 72.83%. The second model, tailored for the detection of the presence of DR, recorded a precision and recall of 84.48% with an AUPRC of 0.90.
Conclusions
ChatGPT and Vertex AI have the potential to enable physicians without coding expertise to preprocess images, analyze data, and train ML models.
Financial Disclosure(s)
Proprietary or commercial disclosure may be found in the Footnotes and Disclosures at the end of this article.