Introduction: Body mass index (BMI) is an acceptable method to measure overweight and obesity among the population. Objectives: The aim of this study was evaluating the application of machine learning algorithms for classifying body mass index for clinical purposes. Patients and Methods: In this descriptive study, we selected the dataset of 1316 people who selected randomly from all area of Ardabil city in Iran. Dataset included demographic and anthropometric data. Classification algorithms such as random forest (RF), Gaussian Naive Bayes (GNB), decision tree (DT), support vector machines (SVM), multi-layer perceptron (MLP), K-nearest neighbors (KNN) and logistic regression (LR) with 10-fold cross-validation were conducted to classify the data based on BMI. The performance of algorithms was evaluated with precision, recall, mean squared errors (MSE) and accuracy indices. All programing done by Python 3.7 in Jupyter Notebook. Results: According to the BMI, 603(45.8%) of all samples were normal and 713 (54.2%) were at-risk. The precision of RF, GNB, DT, SVM, MLP, KNN and LR for people at risk were 0.93, 0.86, 0.99, 0.82, 100, 0.82 and 0.99 respectively. Additionally, the accuracy of RF, GNB, DT, SVM, MLP, KNN and LR were 95%, 83%, 100%, 82%, 100%, 82% and 100 %. Conclusion: The comparison of the classifying algorithms showed that, the LR, MLP and DT had the higher accuracy than the other algorithms in detecting of people at-risk.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.