{'fraction_non_alphanumeric': 0.01916376306620209, 'fraction_numerical': 0.0, 'mean_word_length': 5.383333333333334, '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}}
Using Machine Learning in WSNs for Performance Prediction MAC Layer

To monitor environments, Wireless Sensor Networks (WSNs) are used for collecting data in divers domains such as smart factories, smart buildings, etc. In such environments, different medium access control (MAC) protocols are available to sensor nodes for wireless communications and are of a paramount importance to enhance the network performance. Proposed MAC layer protocols for WSNs are generally designed to achieve a good performance in packet reception rate. Once chosen, the MAC protocol is used and remains the same throughout the network lifetime even if its performance decreases over time. In this paper, we adopt supervised machine learning techniques to predict the performance of CSMA/CA MAC protocol based on the packet reception rate. Our approach consists of three steps: experiments for data collection, offline modeling and performance evaluation. Our analysis shows that XGBoost prediction model is the better supervised machine learning technique to enhance network performance at the MAC layer level. In addition, we use SHAP method to explain predictions.