{'fraction_non_alphanumeric': 0.03908554572271387, 'fraction_numerical': 0.0, 'mean_word_length': 5.785, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Machine learning and IoT‐based model for patient monitoring and early prediction of diabetes

Health monitoring is one of the sustainable development areas throughout the globe and Diabetes Mellitus is a common disease worldwide that is one of the main causes of health disasters. Currently, Internet of Things (IoT) and machine learning (ML) technology together provide a proficient approach for monitoring and predicting diabetes mellitus. In this article, we have proposed a model which uses the hybrid enhanced adaptive data rate (HEADR) algorithm for long range (LoRa) protocol of the Internet of Things (IoT) for patient's real‐time data gathering. Further, machine learning prediction takes place by using classification methods for the detection of diabetes severity levels on collected data through LoRa protocol. The performance of the LoRa protocol is evaluated on the Contiki Cooja simulator based on throughput and packet collision parameters. The proposed model uses different machine learning classifiers, namely, gradient boosting (GB), random forest (RF), decision tree (DT), support vector machine (SVM), K‐nearest neighbors (KNN), logistic regression (LR), and Gaussian Naive Bayes (GNB) to predict diabetes with maximum accuracy score, precision, recall, F‐measure, and receiver operating curve (ROC), using Python programming language.