Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance Evaluation

BackgroundDiabetes is a public health problem worldwide. Although diabetes is a chronic and incurable disease, measures and treatments can be taken to control it and keep the patient stable. Diabetes has been the subject of extensive research, ranging from disease prevention...

Full description

Bibliographic Details
Main Authors: Luis Fernando Granda Morales, Priscila Valdiviezo-Diaz, Ruth Reátegui, Luis Barba-Guaman
Format: Article
Language:English
Published: JMIR Publications 2022-07-01
Series:Journal of Medical Internet Research
Online Access:https://www.jmir.org/2022/7/e37233
_version_ 1797734948053975040
author Luis Fernando Granda Morales
Priscila Valdiviezo-Diaz
Ruth Reátegui
Luis Barba-Guaman
author_facet Luis Fernando Granda Morales
Priscila Valdiviezo-Diaz
Ruth Reátegui
Luis Barba-Guaman
author_sort Luis Fernando Granda Morales
collection DOAJ
description BackgroundDiabetes is a public health problem worldwide. Although diabetes is a chronic and incurable disease, measures and treatments can be taken to control it and keep the patient stable. Diabetes has been the subject of extensive research, ranging from disease prevention to the use of technologies for its diagnosis and control. Health institutions obtain information required for the diagnosis of diabetes through various tests, and appropriate treatment is provided according to the diagnosis. These institutions have databases with large volumes of information that can be analyzed and used in different applications such as pattern discovery and outcome prediction, which can help health personnel in making decisions about treatments or determining the appropriate prescriptions for diabetes management. ObjectiveThe aim of this study was to develop a drug recommendation system for patients with diabetes based on collaborative filtering and clustering techniques as a complement to the treatments given by the treating doctor. MethodsThe data set used contains information from patients with diabetes available in the University of California Irvine Machine Learning Repository. Data mining techniques were applied for processing and analysis of the data set. Unsupervised learning techniques were used for dimensionality reduction and patient clustering. Drug predictions were obtained with a user-based collaborative filtering approach, which enabled creating a patient profile that can be compared with the profiles of other patients with similar characteristics. Finally, recommendations were made considering the identified patient groups. The performance of the system was evaluated using metrics to assess the quality of the groups and the quality of the predictions and recommendations. ResultsPrincipal component analysis to reduce the dimensionality of the data showed that eight components best explained the variability of the data. We identified six groups of patients using the clustering algorithm, which were evenly distributed. These groups were identified based on the available information of patients with diabetes, and then the variation between groups was examined to predict a suitable medication for a target patient. The recommender system achieved good results in the quality of predictions with a mean squared error metric of 0.51 and accuracy in the quality of recommendations of 0.61, which is acceptable. ConclusionsThis work presents a recommendation system that suggests medications according to drug information and the characteristics of patients with diabetes. Some aspects related to this disease were analyzed based on the data set used from patients with diabetes. The experimental results with clustering and prediction techniques were found to be acceptable for the recommendation process. This system can provide a novel perspective for health institutions that require technologies to support health care personnel in the management of diabetes treatment and control.
first_indexed 2024-03-12T12:50:51Z
format Article
id doaj.art-b7ef173db53d4ed69570aa9324b73b7e
institution Directory Open Access Journal
issn 1438-8871
language English
last_indexed 2024-03-12T12:50:51Z
publishDate 2022-07-01
publisher JMIR Publications
record_format Article
series Journal of Medical Internet Research
spelling doaj.art-b7ef173db53d4ed69570aa9324b73b7e2023-08-28T22:43:48ZengJMIR PublicationsJournal of Medical Internet Research1438-88712022-07-01247e3723310.2196/37233Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance EvaluationLuis Fernando Granda Moraleshttps://orcid.org/0000-0003-2378-8841Priscila Valdiviezo-Diazhttps://orcid.org/0000-0002-5216-8820Ruth Reáteguihttps://orcid.org/0000-0002-7304-4413Luis Barba-Guamanhttps://orcid.org/0000-0002-8569-3322 BackgroundDiabetes is a public health problem worldwide. Although diabetes is a chronic and incurable disease, measures and treatments can be taken to control it and keep the patient stable. Diabetes has been the subject of extensive research, ranging from disease prevention to the use of technologies for its diagnosis and control. Health institutions obtain information required for the diagnosis of diabetes through various tests, and appropriate treatment is provided according to the diagnosis. These institutions have databases with large volumes of information that can be analyzed and used in different applications such as pattern discovery and outcome prediction, which can help health personnel in making decisions about treatments or determining the appropriate prescriptions for diabetes management. ObjectiveThe aim of this study was to develop a drug recommendation system for patients with diabetes based on collaborative filtering and clustering techniques as a complement to the treatments given by the treating doctor. MethodsThe data set used contains information from patients with diabetes available in the University of California Irvine Machine Learning Repository. Data mining techniques were applied for processing and analysis of the data set. Unsupervised learning techniques were used for dimensionality reduction and patient clustering. Drug predictions were obtained with a user-based collaborative filtering approach, which enabled creating a patient profile that can be compared with the profiles of other patients with similar characteristics. Finally, recommendations were made considering the identified patient groups. The performance of the system was evaluated using metrics to assess the quality of the groups and the quality of the predictions and recommendations. ResultsPrincipal component analysis to reduce the dimensionality of the data showed that eight components best explained the variability of the data. We identified six groups of patients using the clustering algorithm, which were evenly distributed. These groups were identified based on the available information of patients with diabetes, and then the variation between groups was examined to predict a suitable medication for a target patient. The recommender system achieved good results in the quality of predictions with a mean squared error metric of 0.51 and accuracy in the quality of recommendations of 0.61, which is acceptable. ConclusionsThis work presents a recommendation system that suggests medications according to drug information and the characteristics of patients with diabetes. Some aspects related to this disease were analyzed based on the data set used from patients with diabetes. The experimental results with clustering and prediction techniques were found to be acceptable for the recommendation process. This system can provide a novel perspective for health institutions that require technologies to support health care personnel in the management of diabetes treatment and control.https://www.jmir.org/2022/7/e37233
spellingShingle Luis Fernando Granda Morales
Priscila Valdiviezo-Diaz
Ruth Reátegui
Luis Barba-Guaman
Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance Evaluation
Journal of Medical Internet Research
title Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance Evaluation
title_full Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance Evaluation
title_fullStr Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance Evaluation
title_full_unstemmed Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance Evaluation
title_short Drug Recommendation System for Diabetes Using a Collaborative Filtering and Clustering Approach: Development and Performance Evaluation
title_sort drug recommendation system for diabetes using a collaborative filtering and clustering approach development and performance evaluation
url https://www.jmir.org/2022/7/e37233
work_keys_str_mv AT luisfernandograndamorales drugrecommendationsystemfordiabetesusingacollaborativefilteringandclusteringapproachdevelopmentandperformanceevaluation
AT priscilavaldiviezodiaz drugrecommendationsystemfordiabetesusingacollaborativefilteringandclusteringapproachdevelopmentandperformanceevaluation
AT ruthreategui drugrecommendationsystemfordiabetesusingacollaborativefilteringandclusteringapproachdevelopmentandperformanceevaluation
AT luisbarbaguaman drugrecommendationsystemfordiabetesusingacollaborativefilteringandclusteringapproachdevelopmentandperformanceevaluation