{"title":"Comparison Analysis Of K-Nearest Neighbor (K-Nn) Algorithm With Naive Bayes For Fire Source Detection Mitigation","authors":"Titus Yory Datubakka, Istikmal, A. Irawan","doi":"10.1109/IoTaIS56727.2022.9976018","DOIUrl":null,"url":null,"abstract":"Fire is one of the disasters that often occur in Indonesia. One of the consequences of fires that occur in Indonesia is forest fires. In 2014 and 2015 alone, 2.6 million ha of forest fires were reported in Indonesia. One way to detect a fire source is by developing machine learning that is used for information processing in the event of a fire by utilizing patterns or information from large data sets. This research will develop an algorithm to detect fires by comparing the accuracy of the two algorithms, that is K-Nearest Neighbor (K-NN) and Naive Bayes. The dataset was obtained from a fire simulation using NodeMCU ESP8266 and IR Flame Sensor, MQ7, and DHT 11. Based on the composition of the training and test data, this research found the best algorithm is K-Nearest Neighbor tuning using GridSearch CV, where the best metric parameters are ‘Minkowski’, K = 1, p = 1, and weights ‘Uniform’, with a composition of 75% training data and 25% test data with accuracy 96.44%, precision 96.48%, recall 96.44%, and F1-Score is 96.33%.","PeriodicalId":138894,"journal":{"name":"2022 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Internet of Things and Intelligence Systems (IoTaIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IoTaIS56727.2022.9976018","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Fire is one of the disasters that often occur in Indonesia. One of the consequences of fires that occur in Indonesia is forest fires. In 2014 and 2015 alone, 2.6 million ha of forest fires were reported in Indonesia. One way to detect a fire source is by developing machine learning that is used for information processing in the event of a fire by utilizing patterns or information from large data sets. This research will develop an algorithm to detect fires by comparing the accuracy of the two algorithms, that is K-Nearest Neighbor (K-NN) and Naive Bayes. The dataset was obtained from a fire simulation using NodeMCU ESP8266 and IR Flame Sensor, MQ7, and DHT 11. Based on the composition of the training and test data, this research found the best algorithm is K-Nearest Neighbor tuning using GridSearch CV, where the best metric parameters are ‘Minkowski’, K = 1, p = 1, and weights ‘Uniform’, with a composition of 75% training data and 25% test data with accuracy 96.44%, precision 96.48%, recall 96.44%, and F1-Score is 96.33%.