Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis
Abstract Vaginitis is a prevalent gynecological condition that impacts women’s quality of life, with most women likely to experience it at least once. Traditional diagnosis involves manually observing vaginal discharge samples under a microscope. This process relies heavily on the technician’s exper...
Saved in:
| Main Authors: | , , , , , , |
|---|---|
| Format: | Article |
| Language: | English |
| Published: |
Nature Portfolio
2025-05-01
|
| Series: | Scientific Reports |
| Subjects: | |
| Online Access: | https://doi.org/10.1038/s41598-025-04626-9 |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1850243013855412224 |
|---|---|
| author | Thi Bang-Suong Nguyen Hoang-Bac Nguyen Thi Xuan-Thao Le Thi Hong-Chau Bui Le Song-Toan Nguyen Thao-Huong Nguyen Truong Cong-Minh Nguyen |
| author_facet | Thi Bang-Suong Nguyen Hoang-Bac Nguyen Thi Xuan-Thao Le Thi Hong-Chau Bui Le Song-Toan Nguyen Thao-Huong Nguyen Truong Cong-Minh Nguyen |
| author_sort | Thi Bang-Suong Nguyen |
| collection | DOAJ |
| description | Abstract Vaginitis is a prevalent gynecological condition that impacts women’s quality of life, with most women likely to experience it at least once. Traditional diagnosis involves manually observing vaginal discharge samples under a microscope. This process relies heavily on the technician’s expertise and is vulnerable to subjective biases. The study aimed to improve diagnostic accuracy by applying machine learning, specifically the MobileNetV2 model, to automate the classification of vaginal discharge samples. This model supports doctors in identifying causative agents of vaginitis, including Gardnerella vaginalis, fungi, and other pathogens like bacteria or Trichomonas vaginalis. A dataset of 3,164 images from 1,582 vaginal discharge samples of women aged 18 and over was analyzed. Images were taken under a 40x optical microscope with a resolution of 800 × 800 pixels and classified into three groups: Group B (mixed bacteria or Trichomonas vaginalis), Group C (Gardnerella vaginalis, identified by clue cells), and Group F (fungi, e.g., Candida albicans, which appear as hyphae or yeast cells in samples). The model was trained using 80% of data for training, 10% for validation, and 10% for testing. Performance was evaluated using two statistical metrics: the F1 score (a measure of accuracy balancing precision and recall) and the AUC-PR (Area Under the Curve of the Precision-Recall curve, a measure of model reliability for imbalanced datasets). The MobileNetV2 model performed well across all datasets, achieving an F1 score > 0.75 and an AUC-PR > 0.80. It demonstrated the best performance in identifying Gardnerella vaginalis (Group C), with both metrics exceeding 0.90. In conclusion, this study highlights MobileNetV2’s potential as a rapid screening tool for vaginitis, particularly in identifying Gardnerella vaginalis (F1 score and AUC-PR > 0.90). While challenges have remained in classifying co-infections (e.g., Groups B vs. F), the model’s stability across datasets underscores its practical utility. Integrating AI into vaginitis diagnosis could enhance efficiency, reduce human error, and improve early detection, ultimately advancing patient care. |
| format | Article |
| id | doaj-art-894b7a201bf540599c8666e486ac9296 |
| institution | OA Journals |
| issn | 2045-2322 |
| language | English |
| publishDate | 2025-05-01 |
| publisher | Nature Portfolio |
| record_format | Article |
| series | Scientific Reports |
| spelling | doaj-art-894b7a201bf540599c8666e486ac92962025-08-20T02:00:07ZengNature PortfolioScientific Reports2045-23222025-05-0115111110.1038/s41598-025-04626-9Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosisThi Bang-Suong Nguyen0Hoang-Bac Nguyen1Thi Xuan-Thao Le2Thi Hong-Chau Bui3Le Song-Toan Nguyen4Thao-Huong Nguyen5Truong Cong-Minh Nguyen6University Medical Center Ho Chi Minh CityUniversity Medical Center Ho Chi Minh CityUniversity Medical Center Ho Chi Minh CityUniversity Medical Center Ho Chi Minh CityUniversity Medical Center Ho Chi Minh CityUniversity Medical Center Ho Chi Minh CityUniversity Medical Center Ho Chi Minh CityAbstract Vaginitis is a prevalent gynecological condition that impacts women’s quality of life, with most women likely to experience it at least once. Traditional diagnosis involves manually observing vaginal discharge samples under a microscope. This process relies heavily on the technician’s expertise and is vulnerable to subjective biases. The study aimed to improve diagnostic accuracy by applying machine learning, specifically the MobileNetV2 model, to automate the classification of vaginal discharge samples. This model supports doctors in identifying causative agents of vaginitis, including Gardnerella vaginalis, fungi, and other pathogens like bacteria or Trichomonas vaginalis. A dataset of 3,164 images from 1,582 vaginal discharge samples of women aged 18 and over was analyzed. Images were taken under a 40x optical microscope with a resolution of 800 × 800 pixels and classified into three groups: Group B (mixed bacteria or Trichomonas vaginalis), Group C (Gardnerella vaginalis, identified by clue cells), and Group F (fungi, e.g., Candida albicans, which appear as hyphae or yeast cells in samples). The model was trained using 80% of data for training, 10% for validation, and 10% for testing. Performance was evaluated using two statistical metrics: the F1 score (a measure of accuracy balancing precision and recall) and the AUC-PR (Area Under the Curve of the Precision-Recall curve, a measure of model reliability for imbalanced datasets). The MobileNetV2 model performed well across all datasets, achieving an F1 score > 0.75 and an AUC-PR > 0.80. It demonstrated the best performance in identifying Gardnerella vaginalis (Group C), with both metrics exceeding 0.90. In conclusion, this study highlights MobileNetV2’s potential as a rapid screening tool for vaginitis, particularly in identifying Gardnerella vaginalis (F1 score and AUC-PR > 0.90). While challenges have remained in classifying co-infections (e.g., Groups B vs. F), the model’s stability across datasets underscores its practical utility. Integrating AI into vaginitis diagnosis could enhance efficiency, reduce human error, and improve early detection, ultimately advancing patient care.https://doi.org/10.1038/s41598-025-04626-9Vaginitis diagnosisMobileNetV2Vaginal discharge image analysisGardnerella vaginalisAutomated diagnosis |
| spellingShingle | Thi Bang-Suong Nguyen Hoang-Bac Nguyen Thi Xuan-Thao Le Thi Hong-Chau Bui Le Song-Toan Nguyen Thao-Huong Nguyen Truong Cong-Minh Nguyen Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis Scientific Reports Vaginitis diagnosis MobileNetV2 Vaginal discharge image analysis Gardnerella vaginalis Automated diagnosis |
| title | Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis |
| title_full | Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis |
| title_fullStr | Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis |
| title_full_unstemmed | Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis |
| title_short | Applying machine learning with MobileNetV2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis |
| title_sort | applying machine learning with mobilenetv2 model for rapid screening of vaginal discharge samples in vaginitis diagnosis |
| topic | Vaginitis diagnosis MobileNetV2 Vaginal discharge image analysis Gardnerella vaginalis Automated diagnosis |
| url | https://doi.org/10.1038/s41598-025-04626-9 |
| work_keys_str_mv | AT thibangsuongnguyen applyingmachinelearningwithmobilenetv2modelforrapidscreeningofvaginaldischargesamplesinvaginitisdiagnosis AT hoangbacnguyen applyingmachinelearningwithmobilenetv2modelforrapidscreeningofvaginaldischargesamplesinvaginitisdiagnosis AT thixuanthaole applyingmachinelearningwithmobilenetv2modelforrapidscreeningofvaginaldischargesamplesinvaginitisdiagnosis AT thihongchaubui applyingmachinelearningwithmobilenetv2modelforrapidscreeningofvaginaldischargesamplesinvaginitisdiagnosis AT lesongtoannguyen applyingmachinelearningwithmobilenetv2modelforrapidscreeningofvaginaldischargesamplesinvaginitisdiagnosis AT thaohuongnguyen applyingmachinelearningwithmobilenetv2modelforrapidscreeningofvaginaldischargesamplesinvaginitisdiagnosis AT truongcongminhnguyen applyingmachinelearningwithmobilenetv2modelforrapidscreeningofvaginaldischargesamplesinvaginitisdiagnosis |