{"id":58217,"date":"2024-06-25T10:10:29","date_gmt":"2024-06-25T10:10:29","guid":{"rendered":"https:\/\/biomedpharmajournal.org\/?p=58217"},"modified":"2024-07-03T18:15:20","modified_gmt":"2024-07-03T18:15:20","slug":"diabetes-prediction-using-machine-learning-and-flask","status":"publish","type":"post","link":"https:\/\/biomedpharmajournal.org\/staging\/vol17no2\/diabetes-prediction-using-machine-learning-and-flask\/","title":{"rendered":"Diabetes Prediction Using Machine Learning and Flask"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Introduction<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Diabetes is a condition caused by a rise in blood glucose levels. Diabetes is a chronic condition that has caused a global healthcare catastrophe. Diabetes impacted around 463 million people worldwide in 2019, accounting for approximately 8.8 percent of the total adult population <sup>1<\/sup>. The healthcare sector is facing hurdles in crucial areas like electronic record management, computer-aided diagnosis, and disease predictions due to the need to lower healthcare costs and the shift to personalized healthcare. To meet these issues, machine learning provides a wide range of tools, methods, and systems. <sup>2<\/sup>. According to the statistics of researchers, the occurrences of diabetes in men and women are similar <sup>3<\/sup>. Several experimental studies indicate that occurrences will continue to climb. <sup>1<\/sup> Diabetes is a significant chronic condition in children and teenagers as well. Young diabetics are at risk of dying because of the disease&#8217;s acute consequences. <sup>4<\/sup> In 2019, diabetes claimed the lives of almost 4.2 million people. It is the seventh leading cause of death in the globe <sup>5,6<\/sup>. Diabetes-related health expenditures were predicted to cost around $727 billion globally in the year 2017 <sup>1<\/sup>. In the United States alone, the cost of diabetes in 2017 was close to $327 billion <sup>7<\/sup>. The average medical expense for a diabetic is 2.3 times more than for a non-diabetic. <sup>8<\/sup>. Diabetes is a serious health concern because of its rising incidence, the rise of its complications as a leading cause of early illness and death, furthermore&nbsp;the tremendous and escalating cost it imposes on healthcare systems <sup>9<\/sup>. Serious consequences can include diabetic ketoacidosis, hyperosmolar hyperglycemia, and even death <sup>10<\/sup>. Severe long-term complications include cardiovascular disease, stroke, chronic renal disease, foot ulcers, nerve damage, vision loss, and cognitive impairment <sup>4,11<\/sup>. Big Data and the Cloud are two examples of new technologies that are helping to solve healthcare issues <sup>12<\/sup>. Predictive analytics strives to improve healthcare outcomes by accurately detecting diseases, improving patient care, and maximizing resources. <sup>13<\/sup>. The complexity of updating the healthcare industry&#8217;s tendency toward processing massive health data and accessing them for analysis and action will increase significantly. Because Big Data in the healthcare business is unstructured, it is necessary to structure and emphasize its magnitude into a nominal value using a realistic solution. <sup>14<\/sup>. Diabetes has afflicted about 246 million individuals globally, with women accounting for the majority of those affected. According to WHO research, this figure is predicted to climb to more than 380 million by 2025. The illness has been ranked the fifth-deadliest disease in the United States, and there is little hope of treatment in the near future <sup>15<\/sup>. By 2035, it is anticipated that around 600 million individuals would have diabetes. Diabetes can be diagnosed using a variety of traditional approaches based on physical and chemical testing. However, early prediction of diabetes is a quite challenging task for medical practitioners due to complex interdependence on various factors as diabetes affects human organs such as kidneys, eyes, heart, nerves, foot, etc. Methods of data science have the potential to aid other scientific domains by throwing fresh light on prevalent topics. One such task is to assist in the prediction of medical data. To diagnose Diabetes,&nbsp;&nbsp; medical professionals require a trustworthy prediction methodology <sup>16<\/sup>. Employing various supervised learning methods of artificial neural networks, a study was conducted on the prediction of diabetes. Many&nbsp;diabetics between the ages of 25 to 78 provided data for the network&#8217;s training.&nbsp;To verify accurate prediction, the optimal algorithm&#8217;s prediction accuracy is computed. <sup>19<\/sup>. Sugar from the foods we eat comes, and insulin is the hormone that helps the entry of sugar into the cells in order to give energy <sup>21<\/sup>. Machine learning is an emerging scientific field in data science dealing with how machines learn from experience. Filter algorithms are broad preprocessing methods that do not rely on a particular categorization method <sup>25<\/sup>. This project aims to develop a system that can perform an early prediction of diabetes for a patient with higher accuracy by combining the results &nbsp;of different machine learning techniques and integrating them with a web app so that the user can check their chances of having diabetes live.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Materials and Methods<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Dataset<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The dataset generated was retrieved from Sylhet Diabetes Hospital patients in Sylhet, Bangladesh, and was approved by a doctor <sup>22<\/sup>. Utilizing large information examination one can study immense datasets and track down secret data <sup>28<\/sup>. The dataset contains 520 patients.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Attribute information<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Polyuria: Production of abnormally large volumes of dilute urine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Polydipsia: abnormally great thirst<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sudden weight loss: reduction in your overall weight<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Weakness: feeling weak and tired<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Polyphagia: extreme hunger<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Genital thrush: yeast infection caused in private parts<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">visual blurring: lack of sharpness in your vision or having a blurred vision<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Itching: feeling itchiness in your body<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Irritability: being annoyed or irritated frequently<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">delayed healing: the wound has trouble healing or staying closed<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">partial paresis: feeling like mild paralysis, Unlike paralysis, people with paresis can still move their muscles<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">muscle stiffness: When your muscles feel tight and you find it more difficult to move than you&nbsp;usually do, especially after rest<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alopecia: having a partial or complete absence of hair from areas of the body where it normally grows<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Obesity: if your BMI is above 30 you are considered to be obese<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Class: the outcome of the patient, if he is positive or negative for diabetes<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Data Preprocessing<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The most crucial procedure is data pre-processing. Most healthcare-related data has missing values and other contaminants, which can reduce data effectiveness. Data mining is capable of extracting hidden insights from massive amounts of diabetes-related data<sup>27<\/sup>. It employs a number of ways of analyzing massive volumes of data in order to find hidden knowledge<sup>33<\/sup>. It is the rigorous process of identifying instances in massive data sets that includes approaches at the intersection of artificial intelligence, machine learning, insights, and database system <sup>31<\/sup>. It is a collection of heuristics and computations used to extract a data mining model from data <sup>18<\/sup>. Medical data mining is used in knowledge collection and analysis to turn information gathered from research papers, medical reports, flow charts, and evidence tables into meaningful information for decision-making <sup>17<\/sup>. Data analytics is the act of evaluating and detecting hidden patterns in massive amounts of data in order to derive conclusions <sup>20<\/sup>. Big Data Analytics is important in the healthcare industry. Databases in the healthcare industry are huge in size. Using big data analytics, one may investigate massive datasets to uncover hidden information and trends in order to gain knowledge from the data and forecast results accordingly <sup>29<\/sup>. Data cleaning is the process of detecting and correcting (or removing) corrupt or inaccurate records from a record set, table, or data set, and it refers to distinguishing incomplete, incorrect, inaccurate, or tangential parts of the knowledge by substituting, modifying, or deleting the dirty or coarse data <sup>32 <\/sup>To improve the quality and effectiveness obtained after the mining process and data cleaning, Data preprocessing is done. To use Machine Learning Techniques on the dataset effectively this process is essential for accurate results and successful prediction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Apply Machine Learning<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Data can be categorized based on their characteristics. Classification is accomplished by creating a model based on existing records and sample data. One of the goals of categorization is to improve the consistency of the data-based outcomes <sup>35<\/sup>. When data is ready, Machine Learning Techniques are used. We use different classification and ensemble techniques, to predict diabetes. Manipulation of the input data provided to a single classifier is a typical method for constructing ensembles. This may be accomplished by running the classifier using a training set consisting of a randomly selected sample with a replacement from the original dataset <sup>30<\/sup>. The main objective to apply Machine Learning Techniques is to analyze the performance of these methods and find accuracy of them, and also be able to figure out the responsible\/important feature which plays a major role in prediction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Web Application<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a web app using Flask and connect it to our model which gave the best accuracy. We will save our best prediction model to a file using a library called Pickle. The model is then packaged into a web service that, when supplied data through a POST request, gives the diabetes prediction probability as a response. We will utilize the Flask web framework for this, which is a popular lightweight framework for constructing web services in Python. First, we&#8217;ll utilize the request method to collect data from the user and save it in the appropriate variables. The model will then be used to predict the possibility that an individual is diabetic using \u2018predict()\u2019. Then, based on the prediction, we will render the index.html page and display the necessary output.<\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone wp-image-58224 size-thumbnail\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig1-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig1-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig1-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig1.jpg 549w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 1: Flowchart<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\"><strong>Algorithms Used<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">KNN- This technique be used for both classification and regression. This algorithm&#8217;s principal function is to categorize a new object based on characteristics and training examples<sup>34<\/sup>. According to the k training samples, which are the closest nearby neighbors to the test person, this algorithm predicts the test sample&#8217;s level and obtains the result with the greatest level possibility<sup>23<\/sup>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">LOGISTIC REGRESSION- Logistic Regression is a classification approach based on the idea of the probability that may be used as a predictive analytic methodology. It is used to solve categorization problems. This technique yields a discrete binary result between 0 and 1<sup>24<\/sup>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SVM- SVM is a supervised machine learning technique that outperforms other machine learning algorithms and has been extensively tested in real-world classification problems and nonlinear function forecasting tasks <sup>36<\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">RANDOM FOREST- For bootstrapping and ensemble composition, random forest is a strategy that can avoid the overfitting problem <sup>26<\/sup>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Implementation<\/strong><\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58225\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig2-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig2-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig2-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig2.jpg 402w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 2: Checking for null values<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig2.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">In Figure 2. We have used isna().sum() which would sum all the null values present in our dataset, since the sum for all is 0 so there are no null values present in our dataset.<\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58226\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig3-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig3-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig3-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig3.jpg 938w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 3: Replacing yes and no with 0s and 1s<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig3.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">We are replacing all \u201cyes\u201d and \u201cno\u201d to 1s and 0s, positive and negative outcomes with 1s and 0s and male and female with 0s and 1s respectively, to make it easy for our model to do data analysis<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Data Preprocessing<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Data Visualization and Analysis<\/strong><\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58227\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig4-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig4-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig4-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig4-300x300.jpg 300w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig4.jpg 612w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 4: Correlation Heat map<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig4.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">In Figure 4. We are using the heat map feature in the seaborns library to correlate our attributes. We can see that polyuria, polydipsia, sudden weight loss and gender show higher correlation with Class attribute which shows the outcome or target. So these attributes have higher weightage in terms of turning positive for diabetes.<\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58228\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig5-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig5-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig5-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig5.jpg 660w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 5: Age group Data Analysis<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig5.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">In Figure 5. Age group analysis is done to check which age group has more chances of diabetes, we can infer that age group 60-70 in the dataset has more chances of having diabetes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Web App development<\/strong><\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58229\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig6-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig6-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig6-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig6.jpg 733w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td><strong>Figure 6: Web app<\/strong><p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig6.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58230\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig7-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig7-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig7-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig7.jpg 850w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 7: Web app user inputs<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig7.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">Figure 6 depicts the Web application interface, and Figure 7 depicts the user inputs for all of the attributes that would be entered into our model to predict diabetes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Results and Discussion<\/strong><\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58231\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig8-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig8-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig8-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig8.jpg 712w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 8: Classification report of all models<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig8.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">In Figure 8. Classification report, model test score and confusion matrix are shown for each model. The Classification report and confusion matrix are used to evaluate the performance of all our models, Classification report shows the precision, recall, F1 Score, and support of our trained model. The ratio of genuine positives to the total of true and false positives is defined as precision. The ratio of true positives to the sum of true positives and false negatives is known as recall. The weighted harmonic mean of accuracy and recall is used to get the F1 score. The closer the F1 score number is to 1.0, the higher the model\u2019s projected performance. The number of actual instances of the class in the dataset is referred to as support. It does not differ between models; it just diagnoses the process of performance evaluation. So based on the results obtained, we can see that Random forest algorithm has shown the best performance since its f1-score, precision, and recall is 1.00.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Confusion Matrix:<\/strong><\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58233\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig9-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig9-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig9-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig9.jpg 608w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 9: Confusion matrix<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig9.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">In Figure 9. The confusion matrix of all 4 models has been plotted using heatmap and seaborns library to compare the performance of each model. From the above results obtained we can see that False Negative for the random forest is 0.00% which means when a person is not diabetic, it did not show he is diabetic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Table 1: Comparision of all algorithm results<\/strong><\/p>\n\n\n<table style=\"width: 95%;\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\">\n<tbody>\n<tr>\n<td width=\"193\">\n<p style=\"text-align: center;\"><strong>Algorithm<\/strong><\/p>\n<\/td>\n<td style=\"text-align: center;\" width=\"195\">\n<p><strong>Accuracy (%)<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"193\">\n<p>Logistic Regression<\/p>\n<\/td>\n<td width=\"195\">\n<p style=\"text-align: center;\">93.27<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"193\">\n<p style=\"text-align: center;\">Support Vector Machine<\/p>\n<\/td>\n<td width=\"195\">\n<p style=\"text-align: center;\">96.92<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"193\">\n<p style=\"text-align: center;\">K-nearest neighbors<\/p>\n<\/td>\n<td width=\"195\">\n<p style=\"text-align: center;\">96.92<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"193\">\n<p style=\"text-align: center;\">Random Forest<\/p>\n<\/td>\n<td width=\"195\">\n<p style=\"text-align: center;\">98.08<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n\n\n<p class=\"wp-block-paragraph\">Table 1 shows the comparison of all our models and the Random Forest model showed the highest accuracy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Cross validation<\/strong><\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58234\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig10-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig10-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig10-256x256.jpg 256w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig10.jpg 336w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 10: Cross-validation<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig10.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">In Figure 10. Cross-validation is done for all 4 models to validate our models, to estimate how accurately a predictive model will perform in practice<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Web App<\/strong><\/p>\n\n\n<table style=\"width: 70%;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-thumbnail wp-image-58235\" src=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig11-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig11-150x150.jpg 150w, https:\/\/biomedpharmajournal.org\/staging\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig11.jpg 568w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/td>\n<td>\n<p><strong>Figure 11: Web app result<\/strong><\/p>\n<p><\/p>\n<p><a href=\"https:\/\/biomedpharmajournal.org\/wp-content\/uploads\/2024\/05\/Vol17No2_Dia_Kus_Fig11.jpg\" target=\"_blank\" rel=\"noopener noreferrer\">Click here to view Figure<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<p class=\"wp-block-paragraph\">In Figure 11, the result of the patient\u2019s diabetes is shown in the Web application. The cutoff value for the prediction of diabetes is taken as 0.5, so if a patient gets a probability of more than 0.5 then the patient is at risk of having diabetes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the above table it can be observed that random forest gives the highest accuracy when trained with the dataset we have and we were also able to connect our model with a web app.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If a person has diabetes but is predicted not to have it (false negative), this is the worst-case situation and might have devastating consequences. This is prevented in our case because the false negative is 0.0% for Random Forest.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So we were able to develop a system that can perform early prediction of diabetes for a patient with higher accuracy by using machine learning technique.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Acknowledgement<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">None<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conflict of Interest<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is no conflict of interest<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Funding Sources<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is no funding Source<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>References<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>R. Thomas, S. Halim, S. Gurudas, S. Sivaprasad, and D. Owens, \u201cIdf diabetes atlas: A review of studies utilising retinal photography on the global prevalence of diabetes related retinopathy between 2015 and 2018,\u201d Diabetes research and clinical practice, vol. 157, p. 107840,2019.<br><a rel=\"noreferrer noopener\" aria-label=\"CrossRef (opens in a new tab)\" href=\"https:\/\/doi.org\/10.1016\/j.diabres.2019.107840\" target=\"_blank\">CrossRef<\/a><\/li><li>B. Nithya and Dr. V. Ilango,\u201d Predictive Analytics in Health Care Using Machine Learning Tools and Techniques\u201d, International Conference on Intelligent Computing and Control Systems, 978-1-5386-2745-7,2017.<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.1109\/ICCONS.2017.8250771\" target=\"_blank\"> CrossRef <\/a><\/li><li>T. Vos, A. D. Flaxman, M. Naghavi, R. Lozano, C. Michaud, M. Ezzati,K. Shibuya, J. A. Salomon, S. Abdalla, V. Aboyans et al., \u201cYears lived with disability (ylds) for 1160 sequelae of 289 diseases and injuries1990\u20132010: a systematic analysis for the global burden of disease study 2010,\u201d The lancet, vol. 380, no. 9859, pp. 2163\u20132196, 2012.<\/li><li>W. H. Organization et al., \u201cDiabetes fact sheet n 312. october 2013,\u201dArchived from the original on, vol. 26, 2013.<\/li><li>U. Diabetes and H. Lobby, \u201cWhat is diabetes,\u201d Diabetes UK, 2014.<\/li><li>W. H. Organization et al.,\u201cThe top 10 causes of death fact sheet no 310,\u201d Geneva, Switzerland: World Health Organization, 2013.<\/li><li>A. D. Association et al., \u201cEconomic costs of diabetes in the us in 2017,\u201dDiabetes care, vol. 41, no. 5, pp. 917\u2013928, 2018.<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.2337\/dci18-0007\" target=\"_blank\"> CrossRef <\/a><\/li><li>C. for Disease Control, Prevention et al., \u201cNational diabetes statistics report, 2020,\u201d Atlanta, GA: Centers for Disease Control and Prevention, US Department of Health and Human Services, pp. 12\u201315, 2020.<\/li><li>W.H.Organization etal., Guidelines for the prevention, management and care of diabetes mellitus, 2006.<\/li><li>A. E. Kitabchi, G. E. Umpierrez, J. M. Miles, and J. N. Fisher, \u201cHyperglycemic crises in adult patients with diabetes,\u201d Diabetes care,vol. 32, no. 7, pp. 1335\u20131343, 2009.<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.2337\/dc09-9032\" target=\"_blank\"> CrossRef <\/a><\/li><li>E. Saedi, M. R. Gheini, F. Faiz, and M. A. Arami, \u201cDiabetes mellitus and cognitive impairments,\u201d World journal of diabetes, vol. 7, no. 17,p. 412, 2016.<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.4239\/wjd.v7.i17.412\" target=\"_blank\"> CrossRef <\/a><\/li><li>P. Suresh Kumar and S. Pranavi \u201cPerformance Analysis of Machine Learning Algorithms on Diabetes Dataset using Big Data Analytics\u201d, International Conference on Infocom Technologies and Unmanned Systems, 978-1-5386-0514-1, Dec. 18-20, 2017.<\/li><li>Gauri D. Kalyankar, Shivananda R. Poojara and Nagaraj V. Dharwadkar,\u201d Predictive Analysis of Diabetic Patient Data Using Machine Learning and Hadoop\u201d, International Conference On I-SMAC,978-1-5090-3243-3,2017<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.1109\/I-SMAC.2017.8058253\" target=\"_blank\"> CrossRef <\/a><\/li><li>Dr Saravana kumar N M, Eswari T, Sampath P and Lavanya S,\u201d Predictive Methodology for Diabetic Data Analysis in Big Data\u201d, 2<sup>nd<\/sup> International Symposium on Big Data and Cloud Computing,2015<\/li><li>Aiswarya Iyer, S. Jeyalatha and Ronak Sumbaly,\u201d Diagnosis of Diabetes Using Classification Mining Techniques\u201d, International Journal of Data Mining &amp; Knowledge Management Process (IJDKP) Vol.5, No.1, January 2015.<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.5121\/ijdkp.2015.5101\" target=\"_blank\"> CrossRef <\/a><\/li><li>K. Rajesh and V. Sangeetha, \u201cApplication of Data Mining Methods and Techniques for Diabetes Diagnosis\u201d, International Journal of Engineering and Innovative Technology (IJEIT) Volume 2, Issue 3, September 2012.<\/li><li>V. Kumar and L. Velide, \u201cA data mining approach for prediction and treatment of diabetes disease,\u201d Int J Sci Invent Today, vol. 3, pp. 73\u20139, 2014.<\/li><li>P. Agrawal and A. Dewangan, \u201cA brief survey on the techniques used for the diagnosis of diabetes- mellitus,\u201d Int. Res. J. of Eng. and Tech. IRJET, vol. 2, pp. 1039\u20131043, 2015.<\/li><li>M. A. Sapon, K. Ismail, and S. Zainudin, \u201cPrediction of diabetes by Using artificial neural network,\u201d in Proceedings of the 2011 International Conference on Circuits, System and Simulation, Singapore, vol. 2829, 2011, p. 299303.<\/li><li>D. Singh, E. J. Leavline, and B. S. Baig, \u201cDiabetes prediction using &nbsp;&nbsp;&nbsp;&nbsp;medical data,\u201d Journal of Computational Intelligence in Bioinformatics, vol. 10, no. 1, pp. 1\u20138, 2017.<\/li><li>T. M. Ahmed, \u201cDeveloping a predicted model for diabetes type 2 treatment plans by using data mining,\u201d Journal of Theoretical and Applied Information Technology, vol. 90, no. 2, p. 181, 2016.<\/li><li>M. F. Islam, R. Ferdousi, S. Rahman, and H. Y. Bushra, \u201cLikelihood prediction of diabetes at early stage using data mining techniques,\u201d in Computer Vision and Machine Intelligence in Medical Image Analysis. Springer, 2020, pp. 113\u2013125.<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.1007\/978-981-13-8798-2_12\" target=\"_blank\"> CrossRef <\/a><\/li><li>S. Kaghyan and H. Sarukhanyan, &#8220;Activity recognition using k-nearest neighbor algorithm on smartphone with tri-axial accelerometer&#8221; in Inter-national Journal of Informatics Models and Analysis (IJIMA) ITHEA International Scientific Society, Bulgaria, vol. 1, pp. 146-156, 2012.<\/li><li>D. G. Kleinbaum, K. Dietz, M. Gail, M. Klein and M. Klein, Logistic regression, Springer, 2002.<\/li><li>T. M. Phuong, Z. Lin, and R. B. Altman, \u201cChoosing snps using feature selection,\u201d in 2005 IEEE Computational Systems Bioinformatics Conference (CSB\u201905).<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.1109\/CSB.2005.22\" target=\"_blank\"> CrossRef <\/a><\/li><li>J. Ali, R. Khan, N. Ahmad, and I. Maqsood, \u201cRandom forests and decision trees,\u201d International Journal of Computer Science Issues (IJCSI),vol. 9, no. 5, p. 272, 2012.<\/li><li>Tejas N. Joshi, Prof. Pramila M. Chawan, &#8220;Diabetes Prediction Using Machine Learning Techniques&#8221;.Int. Journal of Engineering Research and Application, Voljb. 8, Issue 1, (Part-II) January 2018, pp.-09-13<\/li><li>Ayush Anand and Divya Shakti,\u201d Prediction of Diabetes Based on Personal Lifestyle Indicators\u201d, 1st International Conference on Next Generation Computing Technologies, 978-1-4673-6809-4, September 2015.<br><a rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\" href=\"https:\/\/doi.org\/10.1109\/NGCT.2015.7375206\" target=\"_blank\"> CrossRef <\/a><\/li><li>Aishwarya Mujumdar, V Vaidehi, \u201cDiabetes Prediction using Machine Learning &nbsp;&nbsp;Algorithms\u201d, Procedia Computer Science, Volume 165, 2019.<br><a href=\"https:\/\/doi.org\/10.1016\/j.procs.2020.01.047\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><li>Nonso Nnamoko, Abir Hussain, David England, &#8220;Predicting Diabetes Onset: an Ensemble Supervised Learning Approach &#8220;. IEEE Congress on Evolutionary Computation (CEC), 2018.<br><a href=\"https:\/\/doi.org\/10.1109\/CEC.2018.8477663\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><li>Deeraj Shetty, Kishor Rit, Sohail Shaikh, Nikita Patil, &#8220;Diabetes Disease Prediction Using Data Mining &#8220;.International Conference on Innovations in Information, Embedded and Communication Systems (ICIIECS), 2017.<br><a href=\"https:\/\/doi.org\/10.1109\/ICIIECS.2017.8276012\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><li>K.VijiyaKumar, B.Lavanya, I.Nirmala, S.Sofia Caroline, &#8220;Random Forest Algorithm for the Prediction of Diabetes &#8220;.Proceeding of International Conference on Systems Computation Automation and Networking, 2019.<br><a href=\"https:\/\/doi.org\/10.1109\/ICSCAN.2019.8878802\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><li>Mani Butwall and Shraddha Kumar,\u201d A Data Mining Approach for the Diagnosis of Diabetes Mellitus using Random Forest Classifier\u201d, International Journal of Computer Applications, Volume 120- Number 8,2015<br><a href=\"https:\/\/doi.org\/10.5120\/21249-4065\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><li>Utsha Das, Azmain Yakin Srizon\u2020 , Md. Ansarul Islam, Dhiman Sikder Tonmoy\u00a7 ,Md. Al Mehedi Hasan\u201cPrognostic Biomarkers Identification for Diabetes Prediction by Utilizing Machine Learning Classifiers\u201d, 2020 2nd International Conference on Sustainable Technologies for Industry 4.0 (STI), 19-20 December, Dhaka.<br><a href=\"https:\/\/doi.org\/10.1109\/STI50764.2020.9350498\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><li>Humar Kahramanli and Novruz Allahverdi, \u201cDesign of a Hybrid System for the Diabetes and Heart &nbsp;Disease\u201d, Expert Systems with Applications: An International Journal, Volume 35 Issue 1-2, July, 2008.<br><a href=\"https:\/\/doi.org\/10.1016\/j.eswa.2007.06.004\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><li>X. Yang, G. Zhang, J. Lu and J. Ma, &#8220;A kernel fuzzy c-means clustering-based fuzzy supportvector &nbsp;machine algorithm for classification problems with outliers or noises&#8221;, IEEE Transactions on Fuzzy Systems, vol. 19, no. 1, pp. 105-115, 2010.<br><a href=\"https:\/\/doi.org\/10.1109\/TFUZZ.2010.2087382\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" CrossRef  (opens in a new tab)\"> CrossRef <\/a><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Diabetes is a condition caused by a rise in  [&#8230;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[115],"tags":[],"class_list":["post-58217","post","type-post","status-publish","format-standard","hentry","category-vol17no2"],"_links":{"self":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/58217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/comments?post=58217"}],"version-history":[{"count":5,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/58217\/revisions"}],"predecessor-version":[{"id":59693,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/posts\/58217\/revisions\/59693"}],"wp:attachment":[{"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/media?parent=58217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/categories?post=58217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biomedpharmajournal.org\/staging\/wp-json\/wp\/v2\/tags?post=58217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}