Air Quality Classification System using Random Forest Algorithm using MQ-7 and MQ-135 Sensors with IoT-based
DOI:
https://doi.org/10.17509/jmai.v1i2.75591Keywords:
Air Quality Classification, Random Forest, MQ-7 Sensors, Mq-135 SensorsAbstract
Air is one of the essential elements in human life besides water and soil. However, currently the air quality in Indonesia is getting worse. Therefore, an air quality classification system using Random Forest algorithm based on CO and CO2 levels using IoT-based MQ7 and MQ13 sensors is needed as a smart solution. The workflow of this system begins with detecting air quality using the MQ-7 sensor for CO gas and the MQ-135 sensor for CO2 gas. Then, the classification process is carried out with the Machine Learning Random Forest algorithm by utilizing a number of training data that has been stored in the program to classify the gas sensor detection results into three types of classes, namely “Good”, “Bad”, or “Toxic”. The final output of this system is a website display that can be accessed on a PC/Laptop monitor in real time. From the results of the Random Forest machine learning algorithm classification testing process, 1 unsuitable data was found from a total of 100 trials that have been carried out. Therefore, the Random Forest machine learning algorithm can be said to be successful in detecting air levels in the surrounding environment well because it provides an accuracy value of 99%.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Universitas Pendidikan Indonesia

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.