Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Mar 3;66(3):38.
doi: 10.1167/iovs.66.3.38.

An Approach to Predict Intraocular Diseases by Machine Learning Based on Vitreous Humor Immune Mediator Profile

Affiliations

An Approach to Predict Intraocular Diseases by Machine Learning Based on Vitreous Humor Immune Mediator Profile

Risa Sugawara et al. Invest Ophthalmol Vis Sci. .

Abstract

Purpose: This study aimed to elucidate whether machine learning algorithms applied to vitreous levels of immune mediators predict the diagnosis of 12 representative intraocular diseases, and identify immune mediators driving the predictive power of machine learning model.

Methods: Vitreous samples in 522 eyes diagnosed with 12 intraocular diseases were collected, and 28 immune mediators were measured using a cytometric bead array. The significance of each immune mediator was determined by employing five machine learning algorithms. Stratified k-fold cross-validation was performed to divide the dataset into training and test sets. The algorithms were assessed by analyzing precision, recall, accuracy, F-score, area under the receiver operating characteristics curve, area under the precision-recall curve, and feature importance.

Results: Of the five machine learning models, random forest attained the maximum accuracy in the classification of 12 intraocular diseases in a multi-class setting. The random forest prediction models for vitreoretinal lymphoma, endophthalmitis, uveal melanoma, rhegmatogenous retinal detachment, and acute retinal necrosis demonstrated superior classification accuracy, precision, and recall. The top three important immune mediators for predicting vitreoretinal lymphoma were IL-10, granzyme A, and IL-6; those for endophthalmitis were IL-6, G-CSF, and IL-8; and those for uveal melanoma were RANTES, IL-8 and bFGF.

Conclusions: The random forest algorithm effectively classified 28 immune mediators in the vitreous to accurately predict the diagnosis of vitreoretinal lymphoma, endophthalmitis, and uveal melanoma among 12 representative intraocular diseases. In summary, the results of this study enhance our understanding of potential new biomarkers that may contribute to elucidating the pathophysiology of intraocular diseases in the future.

PubMed Disclaimer

Conflict of interest statement

Disclosure: R. Sugawara, None; Y. Usui, None; A. Saito, None; N. Nezu, None; H. Komatsu, None; K. Tsubota, None; M. Asakage, None; N. Yamakawa, None; Y. Wakabayashi, None; M. Sugimoto, None; M. Kuroda, None; H. Goto, None

Figures

Figure 1.
Figure 1.
Heatmap of concentrations of 28 immune mediators in 522 vitreous samples collected from eyes diagnosed with 12 intraocular diseases. Data were log transformed, and all negative values after log transformation were set to 0. The averaged values for each disease are color coded in a blue-white-red (low to high) scale. Clustering was conducted using Pearson correlation. Prominent clusters are labeled (1) to (4).
Figure 2.
Figure 2.
Boxplot comparing the accuracy of five machine learning algorithms using vitreous concentrations of 28 immune mediators to predict 12 intraocular diseases. Each F-score was obtained from 100 independent iterations of stratified fivefold cross-validation. The accuracy is significantly higher in RF compared with the other four algorithms. NB, naïve Bayes classifier; RBF, radial basis function. ** P < 0.001 (Mann–Whitney U test).
Figure 3.
Figure 3.
Prediction of 12 intraocular diseases using RF based on 28 vitreous immune mediators. Data were obtained from 100 independent iterations of stratified fivefold cross-validation. Finally, the scores for each fold were summed and averaged. (A) Average confusion matrix constructed to examine whether the predicted classes match the actual classes in the intraocular disease cohort. The rows of the matrix represent the actual classes, and the columns represent the predicted classes. Each cell shows the number of cases where the actual class (row) is predicted as the class in the column. (B) Diagram showing recall results from the first to the third prediction in predicting 12 intraocular diseases by random forest modeling. Cumulative percentage of prediction is given next to each predicted disease.
Figure 4.
Figure 4.
F-scores using random forest based on 28 vitreous immune mediators to predict 12 intraocular diseases. Each F-score was obtained from 100 independent iterations of stratified fivefold cross-validation. (A) Boxplot of F-scores for the 12 intraocular diseases. (B) Chart of overall accuracy for 12 classes and F-scores for 12 individual diseases.
Figure 5.
Figure 5.
Prediction of 12 intraocular diseases using random forest based on 28 vitreous immune mediators combined with 26 blood test data. Data were obtained from 100 independent iterations of stratified fivefold cross-validation. Finally, the scores for each fold were summed and averaged. (A) Boxplot of F-scores for the 12 intraocular diseases. (B) Chart of overall accuracy for 12 classes, and F-scores for 12 individual diseases.
Figure 6.
Figure 6.
Prediction of 12 intraocular diseases using random forest based on 26 blood test data only. Data were obtained from 100 independent iterations of stratified fivefold cross-validation. Finally, the scores for each fold were summed and averaged. (A) Boxplot of F-scores for the 12 intraocular diseases. (B) Chart of overall accuracy for 12 classes, and F-scores for 12 individual diseases.
Figure 7.
Figure 7.
Performance of random forest to predict 12 intraocular diseases and discriminate each disease from the others, based on 28 immune mediators in vitreous. Data were obtained from 100 independent iterations of stratified fivefold cross-validation. (A) Line graphs showing average ROC curves for 12 intraocular diseases. (B) Line graphs showing average PR curves for 12 intraocular diseases. (C) Chart of AUC-ROC and AUC-PR for 12 intraocular diseases.
Figure 8.
Figure 8.
Boxplots showing the relative importance of 28 immune mediators for discriminating each disease from the others using random forest. The boxplots for the top five intraocular diseases with the highest F-score are shown: (A) vitreoretinal lymphoma, (B) endophthalmitis, (C) uveal melanoma, (D) rhegmatogenous retinal detachment, and (E) acute retinal necrosis. The importance of each immune mediator was computed as the feature importance. The data were obtained after 100 independent iterations of stratified fivefold cross-validation.
Figure 9.
Figure 9.
Boxplots illustrating the most important features for the top five intraocular diseases with the highest F-score: (A) IL-10 for vitreoretinal lymphoma, (B) IL-6 for endophthalmitis, (C) RANTES for uveal melanoma, (D) MCP-1 for rhegmatogenous retinal detachment, and (E) IFN-γ for acute retinal necrosis. *P < 0.05, **P < 0.001 (Mann–Whitney U test).

References

    1. Boss JD, Singh PK, Pandya HK, et al. .. Assessment of neurotrophins and inflammatory mediators in vitreous of patients with diabetic retinopathy. Invest Ophthalmol Vis Sci. 2017; 58: 5594. - PMC - PubMed
    1. de Smet MD, Chan CC.. Regulation of ocular inflammation–what experimental and human studies have taught us. Prog Retin Eye Res. 2001; 20: 761–797. - PubMed
    1. Tang J, Kern TS.. Inflammation in diabetic retinopathy. Prog Retin Eye Res. 2011; 30: 343–358. - PMC - PubMed
    1. Noma H, Mimura T, Eguchi S.. Association of inflammatory factors with macular edema in branch retinal vein occlusion. JAMA Ophthalmol. 2013; 131: 160–165. - PubMed
    1. Nezu N, Usui Y, Saito A, et al. .. Machine learning approach for intraocular disease prediction based on aqueous humor immune mediator profiles. Ophthalmology. 2021; 128: 1197–1208. - PubMed