{'fraction_non_alphanumeric': 0.017311021350259664, 'fraction_numerical': 0.0005770340450086555, 'mean_word_length': 5.21505376344086, '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}}
Air pollution prediction and warning system using IoT and machine learning

Air pollution is a major problem in developing countries and around the world causing lung diseases such as asthma, chronic bronchitis, emphysema, and chronic obstructive pulmonary disease. Therefore, innovative methods and systems for predicting air pollution are needed to reduce such risks. Some Internet of Things (IoT) technologies have been developed to assess and monitor various air quality parameters. In the context of IoT, Artificial intelligence is one of the main segments of smart cities that enables collecting a large amount of data to make recommendations, predict future events and help make decisions. Big data, as part of artificial intelligence, greatly contributes to making further decisions, determining the necessary resources, and identifying critical places thanks to the large amount of data it collects. This paper proposes a solution, with the integration of the Internet of Things (IoT), to predict pollution for any given day. This paper aims to show how sensor-derived data in smart air pollution monitoring solutions can be used for intelligent pollution management. By collecting data from the air pollution sensor that sends the data to the server via. NET 6 REST API endpoint and places it in a SQL Server database together with additional weather data that is collected from REST API for that part of the day, a dataset is created through the ETL process in Jupyter notebook. Linear regression algorithms will be used for making predictions. By detecting the largest sources of air pollution, artificial intelligence solutions can proactively reduce pollution and thus improve health conditions and reduce health costs.