Zhou Zhi-Lu, Yan Yi-Fei, Chen Jie-Min, Liu Rui-Jue, Yu Xiao-Ying, Wang Meng, Hao Hong-Xia, Liu Dong-Mei, Zhang Qi, Wang Jie, Xia Wen-Tao
Department of Forensic Medicine, Guizhou Medical University, Guiyang 550009, Guizhou Province, China.
Shanghai Key Laboratory of Forensic Medicine, Shanghai Forensic Service Platform, Institute of Forensic Science, Ministry of Justice, Shanghai 200063, China.
Int J Ophthalmol. 2023 Jul 18;16(7):1005-1014. doi: 10.18240/ijo.2023.07.02. eCollection 2023.
To predict best-corrected visual acuity (BCVA) by machine learning in patients with ocular trauma who were treated for at least 6mo.
The internal dataset consisted of 850 patients with 1589 eyes and an average age of 44.29y. The initial visual acuity was 0.99 logMAR. The test dataset consisted of 60 patients with 100 eyes collected while the model was optimized. Four different machine-learning algorithms (Extreme Gradient Boosting, support vector regression, Bayesian ridge, and random forest regressor) were used to predict BCVA, and four algorithms (Extreme Gradient Boosting, support vector machine, logistic regression, and random forest classifier) were used to classify BCVA in patients with ocular trauma after treatment for 6mo or longer. Clinical features were obtained from outpatient records, and ocular parameters were extracted from optical coherence tomography images and fundus photographs. These features were put into different machine-learning models, and the obtained predicted values were compared with the actual BCVA values. The best-performing model and the best variable selected were further evaluated in the test dataset.
There was a significant correlation between the predicted and actual values [all Pearson correlation coefficient (PCC)>0.6]. Considering only the data from the traumatic group (group A) into account, the lowest mean absolute error (MAE) and root mean square error (RMSE) were 0.30 and 0.40 logMAR, respectively. In the traumatic and healthy groups (group B), the lowest MAE and RMSE were 0.20 and 0.33 logMAR, respectively. The sensitivity was always higher than the specificity in group A, in contrast to the results in group B. The classification accuracy and precision were above 0.80 in both groups. The MAE, RMSE, and PCC of the test dataset were 0.20, 0.29, and 0.96, respectively. The sensitivity, precision, specificity, and accuracy of the test dataset were 0.83, 0.92, 0.95, and 0.90, respectively.
Predicting BCVA using machine-learning models in patients with treated ocular trauma is accurate and helpful in the identification of visual dysfunction.
通过机器学习预测接受治疗至少6个月的眼外伤患者的最佳矫正视力(BCVA)。
内部数据集包含850例患者的1589只眼,平均年龄44.29岁。初始视力为0.99 logMAR。测试数据集由在模型优化期间收集的60例患者的100只眼组成。使用四种不同的机器学习算法(极端梯度提升、支持向量回归、贝叶斯岭和随机森林回归器)预测BCVA,并使用四种算法(极端梯度提升、支持向量机、逻辑回归和随机森林分类器)对治疗6个月或更长时间后的眼外伤患者的BCVA进行分类。临床特征从门诊记录中获取,眼部参数从光学相干断层扫描图像和眼底照片中提取。将这些特征输入不同的机器学习模型,并将获得的预测值与实际BCVA值进行比较。在测试数据集中进一步评估表现最佳的模型和选择的最佳变量。
预测值与实际值之间存在显著相关性[所有皮尔逊相关系数(PCC)>0.6]。仅考虑创伤组(A组)的数据,最低平均绝对误差(MAE)和均方根误差(RMSE)分别为0.30和0.40 logMAR。在创伤组和健康组(B组)中,最低MAE和RMSE分别为0.20和0.33 logMAR。与B组结果相反,A组的敏感性始终高于特异性。两组的分类准确率和精确率均高于0.80。测试数据集的MAE、RMSE和PCC分别为0.20、0.29和0.96。测试数据集的敏感性、精确率、特异性和准确率分别为0.83、0.92、0.95和0.90。
使用机器学习模型预测接受治疗的眼外伤患者的BCVA准确,有助于识别视觉功能障碍。