Anomaly detection system based on K-nearest neighbors and Naive Bayes

This paper conducts a study and analysis of the SEA dataset, grouping the data and digitizing features to obtain corresponding labels. Subsequently, the K-Nearest Neighbors (KNN) algorithm is applied to the dataset to investigate its performance, revealing that the Manhattan distance is the optimal distance formula for researching this problem using the KNN algorithm. The study explicitly selects frequent words chosen by individual users as features for calculation. During the computation process, grid search is employed to find the optimal parameters, and a model is created using these optimal parameters. The paper then applies the Naive Bayes algorithm to the dataset, comparing the strengths and weaknesses of different types of Naive Bayes methods. An analysis is conducted on the differences and advantages/disadvantages of various feature extraction methods, highlighting that the accuracy of Bernoulli Naive Bayes is higher than that of Multinomial Naive Bayes.

Authors

Institutions

Publication Details

Journal
Journal of Computational Methods in Sciences and Engineering
Published
2024-10-26
DOI
https://doi.org/10.1177/14727978241293274
Citations
1
Primary Topic
Advanced Data and IoT Technologies
Type
article
Field-Weighted Citation Impact
0.21
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Anomaly detection system based on K-nearest neighbors and Naive Bayes

Xiaomei Liu
1 citations
Journal of Computational Methods in Sciences and Engineering
Advanced Data and IoT Technologies
0.21
article

Anomaly detection system based on K-nearest neighbors and Naive Bayes

Xiaomei Liu
article en
1 citations

Abstract

This paper conducts a study and analysis of the SEA dataset, grouping the data and digitizing features to obtain corresponding labels. Subsequently, the K-Nearest Neighbors (KNN) algorithm is applied to the dataset to investigate its performance, revealing that the Manhattan distance is the optimal distance formula for researching this problem using the KNN algorithm. The study explicitly selects frequent words chosen by individual users as features for calculation. During the computation process, grid search is employed to find the optimal parameters, and a model is created using these optimal parameters. The paper then applies the Naive Bayes algorithm to the dataset, comparing the strengths and weaknesses of different types of Naive Bayes methods. An analysis is conducted on the differences and advantages/disadvantages of various feature extraction methods, highlighting that the accuracy of Bernoulli Naive Bayes is higher than that of Multinomial Naive Bayes.

Journal of Computational Methods in Sciences and EngineeringVol. 24(6)
Beijing Information Science & Technology University (CN)
Openalex Percentile: Top 44%
Advanced Data and IoT Technologies
0.21
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Anomaly detection system based on K-nearest neighbors and Naive Bayes — Xiaomei Liu · Journal of Computational Methods in Sciences and Engineering (2024) | TGRS Research Map | TGRS