Submitted:
07 May 2025
Posted:
08 May 2025
You are already at the latest version
Abstract
Keywords:
MSC: 616.9 (UDC) - Diseases of the Eye
1. Introduction
2. Literature Review
2.1. Dry Eye Disease

2.2. Causes
2.2.1. Tear Firm Produces Less Tears
- 1.
- Other diseases and conditions like Sjogren’s syndrome, allergy, arthritis, lupus, scleroderma, sarcoidosis and thyroid disorders. [2]
- 2.
- Medications like antihistamines, decongestants, hormone replacement therapy, antidepressants, and medications for high blood pressure, acne problems, birth control and Parkinson’s disease. [2]
- 3.
- Outer causes like lenses or eye surgeries. [2]
- 4.
- Lack of vitamin A causes dry eye. [3]
2.2.2. Tear Evaporates Faster
- 1.
- Tears are mix of water, mucus and oils, that are produced by meibomian glands. If the mix is imbalanced, tears can evaporate faster. [4]
- 2.
- Eyelid problems. Inward or outward turning of eyelid affects the way we blink, causing faster evaporation of tears. [5]
- 3.
- Blinking less can cause faster evaporation of tears. Less amount of blinking can be caused by reading and screen use. [2]
- 4.
- Environmental factors such as dry, hot or windy weather, heating or using air conditioner, high altitude and smoke. [5]
2.2.3. Age and Gender
2.3. Machine Learning
2.3.1. What is Machine Learning
2.3.2. Why Machine learning
- 1.
- Machine learning is better at understanding complex data and finding correlations and patterns in the dataset.
- 2.
- Machine Learning is more objective if it is done right. The real doctor can be unexperienced or biased towards patients.
- 3.
- Machine learning can help people who do not have access towards eye treatment.
2.4. Random Forest Algorithm
2.4.1. Decision Tree
2.4.2. What is Random Forest Algorithm
2.4.3. How does Random Forest Algorithm works

2.4.4. Pros of Random Forest Algorithm
- 1.
- Fast to train
- 2.
- Handles large datasets
- 3.
- Supports classification
- 4.
- High performance [8]

3. Dataset
- 1.
- Gender. Women have higher chance of having DED than Men. [2]
- 2.
- Age. People who 50 years or older have higher chance of having DED. [2]
- 3.
- Sleep duration. People who sleep less than 5 hours have higher chance of having DED. [9]
- 4.
- Sleep quality. People who have low-quality sleep have more chances of having ED. [9]
- 5.
- Stress level. People with stress, anxiety, or other mental health factors can affect the development of DED. [9]
- 6.
- Blood pressure. High blood pressure is associated with an increased risk of DED. [9]
- 7.
- Heart rate. High heart rate can be sign of DED. [10]
- 8.
- Daily steps. Physical activity of walking is considered to be prevention for DED.
- 9.
- Physical activity. Physical activity or exercise was associated with relief of DED associated symptoms. [11]
- 10.
- Height. There is no correlation between height and DED, but this metric is still useful because with weight metric it allows us to find if patient is obese.
- 11.
- Weight. There was a moderate correlation between body fat percentage and dry eye symptoms. [12]
- 12.
- Sleep disorder. There is a significant correlation between sleep disorder and DED. [9]
- 13.
- Wake up during night. People who waking up during night with dry eyes can have various reason for it. DED is one of the reason. [13] This metric is supporting one.
- 14.
- Feel sleepy during day. Daytime sleepiness is a symptom of DED. [14]
- 15.
- Caffeine consumption. There is correlation bertween caffeine and increasing tear production. [15]
- 16.
- Alcohol consumption.Alcohol consumption can disrupt the tear film, leading to DED symptoms. [16]
- 17.
- Smoking. Smoke from cigarettes can irritate eye surface leading to DED symptoms. [17]
- 18.
- Medical issue. Often medical issues like arthritis, lupus, Graves disease etc can lead to DED. [2]
- 19.
- Ongoing medication. Several medication can contribute to or exacerbate DED. [2]
- 20.
- Smart device before bed. Extensive usage of smart devices before bed is able to increase risk of DED. [18]
- 21.
- Average screen time. Large amount of screen time contribute to or exacerbate DED. [19]
- 22.
- Blue-light filter. Usage of the blue-light filter can negate some of the problems caused by screens and help people with DED to make symptoms easier to handle. [20]
- 23.
- Discomfort eye strain. Eye strain is one of the most common symptoms of DED. [21]
- 24.
- Redness in eye and Itchiness/Irritation in eye. Eye redness and irritation are common symptoms of DED. [22]
- 25.
- Dry Eye Disease. Metric that will be used in the training and testing of the model.
4. Methods
4.1. Instruments for Building
- 1.
- The first reason we chose Scikit learn is popularity. The popularity of library means that there is a lot of support, forums where we can discuss errors and methods to build better ML algorithm.
- 2.
- The second reason is that Scikit learn is scalable. That allows us to build a more efficient and scalable ML algorithm with 20000 rows of data in our dataset.
4.2. Data Preprocessing
| Columns | Before | After |
|---|---|---|
| Gender | F | 0.0 |
| Age | 24 | 24.0 |
| Sleep Duration | 9.5 hours | 9.5 hours |
| Sleep Quality | 2 | 2.0 |
| Stress Level | 1 | 1.0 |
| Blood Pressure | 137/89 | divided |
| Systolic | None | 137.0 |
| Diastolic | None | 89.0 |
| Heart Rate | 67 bpm | 67.0 bpm |
| Daily Steps | 3000 steps | 3000.0 steps |
| Physical Activity | 31 | 31.0 |
| Height | 161 cm | 161.0 cm |
| Weight | 69 kg | 69.0 kg |
| Sleep Disorder | Y | 1.0 |
| Wake Up During Night | N | 0.0 |
| Feel Sleepy During Day | N | 0.0 |
| Caffeine Consumption | N | 0.0 |
| Alcohol Consumption | N | 0.0 |
| Smoking | N | 0.0 |
| Medical Issue | Y | 1.0 |
| Ongoing Medication | Y | 1.0 |
| Smart Device Before Bed | N | 0.0 |
| Average Screen Time | 8.7 hours | 8.7 hours |
| Blue-light Filter | N | 0.0 |
| Discomfort Eye-strain | Y | 1.0 |
| Redness in Eye | Y | 1.0 |
| Itchiness/Irritation in Eye | N | 0.0 |
| Dry Eye Disease | Y | 1.0 |
4.3. Machine Learning Models
5. Results
5.1. Numerical Score
5.2. Plots
5.2.1. Confusion Matrix

5.2.2. Precision

5.2.3. Features Importance

5.2.4. Visualization of Forest

6. Discussion
- 1.
- Discomfort Eye-Strain
- 2.
- Redness in eye
- 3.
- Itchiness/Irritation in eye
- 4.
- Physical Activity
- 5.
- Average Screen Time
- 6.
- Height
7. Conclusions
References
- Craig, J.P.; Nichols, K.K.; Akpek, E.K.; Caffery, B.; Dua, H.S.; Joo, C.K.; Liu, Z.; Nelson, J.D.; Nichols, J.J.; Tsubota, K.; et al. TFOS DEWS II Definition and Classification Report. The Ocular Surface 2017, 15, 276–283. [Google Scholar] [CrossRef] [PubMed]
- Mayo Clinic Staff. Dry Eyes - Symptoms and Causes. https://www.mayoclinic.org/diseases-conditions/dry-eyes/symptoms-causes/syc-20371863, 2023. Accessed: 2025-05-05.
- American Academy of Ophthalmology. Vitamin Deficiency and the Eye. https://www.aao.org/eye-health/diseases/vitamin-deficiency, 2022. Accessed: 2025-05-05.
- Healthline Editorial Team. Dry Eyes: Causes, Symptoms, and Treatments. https://www.healthline.com/health/dry-eyes, 2023. Accessed: 2025-05-05.
- Medical News Today Editorial Team. Dry Eyes: Symptoms, Causes, and Treatments. https://www.medicalnewstoday.com/articles/170743, 2023. Accessed: 2025-05-05.
- Jordan, M.I.; Mitchell, T.M. Machine learning: Trends, perspectives, and prospects. Science 2015, 349, 255–260. [Google Scholar] [CrossRef]
- Rokach, L.; Maimon, O. Decision Trees. In The Data Mining and Knowledge Discovery Handbook; Maimon, O., Rokach, L., Eds.; Springer: Boston, MA, 2005; pp. 165–192. [Google Scholar] [CrossRef]
- Salman, H.A.; Kalakech, A.; Steiti, A. Random Forest Algorithm Overview. Babylonian Journal of Machine Learning. [CrossRef]
- Zheng, e.a. The Association Between Sleep Disorders and Dry Eye. Frontiers in Medicine 2022, 9, 832851. [Google Scholar] [CrossRef]
- Shokr, H.; Wolffsohn, J.S.; Trave Huarte, S.; Scarpello, E.; Gherghel, D. Dry eye disease is associated with retinal microvascular dysfunction and possible risk for cardiovascular disease. Acta Ophthalmologica 2021, 99, e1236–e1242. [Google Scholar] [CrossRef]
- Navarro-Lopez, S.; Moya-Ramón, M.; Gallar, J.; Carracedo, G.; Aracil-Marco, A. Effects of physical activity/exercise on tear film characteristics and dry eye associated symptoms: A literature review. Contact Lens and Anterior Eye 2023, 46, 101854. [Google Scholar] [CrossRef]
- Ho, K.C.; Jalbert, I.; Watt, K.; Golebiowski, B. A Possible Association Between Dry Eye Symptoms and Body Fat: A Prospective, Cross-Sectional Preliminary Study. Eye Contact Lens 2017, 43, 245–252. [Google Scholar] [CrossRef] [PubMed]
- Crum, Jon. Why Am I Waking Up with Dry Eyes? https://drjoncrum.com/why-am-i-waking-up-with-dry-eyes/, 2023. Accessed: 2025-05-06.
- Gu, Y.; Cao, K.; Li, A.; et al. Association between sleep quality and dry eye disease: a literature review and meta-analysis. BMC Ophthalmology 2024, 24, 152. [Google Scholar] [CrossRef] [PubMed]
- WebMD Editorial Staff. Can Caffeine Help with Dry Eye? https://www.webmd.com/eye-health/caffeine-dry-eye, 2023. Accessed: 2025-05-06.
- Assil Eye Institute. Alcohol and Dry Eye Syndrome. https://assileye.com/blog/alcohol-and-dry-eye-syndrome/, 2023. Accessed: 2025-05-06.
- WebMD Editorial Staff. Smoking and Dry Eyes: What to Know. https://www.webmd.com/eye-health/smoking-dry-eyes, 2023. Accessed: 2025-05-06.
- Zaina Al-Mohtaseb and Scott Schachter and Bridgitte Shen Lee and Jaclyn Garlich and William Trattler. The Relationship Between Dry Eye Disease and Digital Screen Use. Clinical Ophthalmology 2021. [Google Scholar] [CrossRef]
- Jansen, J.A.; Kuswidyati, C.; Chriestya, F. Association between screen time and dry eye symptoms. Indonesian Journal of Medicine and Health 2021. [Google Scholar] [CrossRef]
- Cheng, H.M.; Chen, S.T.; Liu, H.J.; Cheng, C.Y. Does blue light filter improve computer vision syndrome in patients with dry eye? Life Science Journal 2014, 11, 612–615. [Google Scholar]
- Kaur, K.; Gurnani, B.; Nayak, S.; Deori, N.; Kaur, S.; Jethani, J.; Singh, D.; Agarkar, S.; Hussaindeen, J.R.; Sukhija, J.; et al. Digital Eye Strain - A Comprehensive Review. Ophthalmology Therapy 2022, 11, 1655–1680. [Google Scholar] [CrossRef] [PubMed]
- Jenkins Eye Care. Understanding the Link Between Dry Eyes and Eye Irritation. https://jenkinseyecare.com/understanding-the-link-between-dry-eyes-and-eye-irritation/, 2023. Accessed: 2025-05-06.
- IEEE Spectrum. Top Programming Languages 2024. https://spectrum.ieee.org/top-programming-languages-2024, 2024. Accessed: 2025-05-06.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
