Machine Learning Model for Message Queuing Telemetry Transport Data Analytics
Main Article Content
Abstract
In the realm of MQTT data analytics, this project aims to accomplish the primary objective of developing and evaluating machine learning models for the classification of MQTT messages into distinct categories or message types. Two prominent classifiers, the Random Forest Classifier and K-Nearest Neighbors (KNN) Classifier, have been effectively implemented and rigorously assessed for their classification capabilities. The assessment primarily involves measuring the accuracy and precision of both models, employing comprehensive classification reports to ascertain their competence in categorizing MQTT data. The results of this evaluation reveal that both the Random Forest and KNN classifiers excel in effectively classifying MQTT messages with remarkable accuracy and precision. A standout feature of this project is the incorporation of confusion matrices to visually represent the performance of these models. These matrices offer a clear and intuitive depiction of the models' effectiveness by showcasing key metrics such as true positives, true negatives, false positives, and false negatives. This visual representation provides invaluable insights into the strengths and weaknesses of the classification models, aiding in a deeper understanding of their performance. In summary, this project sheds light on the potential of machine learning models, specifically Random Forest and KNN classifiers, in the context of MQTT data analytics. It highlights their proficiency in accurately categorizing MQTT messages, further enhanced by the visual clarity offered by confusion matrices. The findings presented in this study serve as a foundation for future research and applications in the domain of MQTT data analysis and classification
Downloads
Metrics
Article Details
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.