@inproceedings{6e42a7ef6ca344dabd4957888c920820,
title = "New PCA-based Category Encoder for Efficient Data Processing in IoT Devices",
abstract = "Increasing the cardinality of categorical variables might decrease the overall performance of machine learning (ML) algorithms. This paper presents a novel computational preprocessing method to convert categorical to numerical variables ML algorithms. It uses a supervised binary classifier to extract additional context-related features from the categorical values. The method requires two hyperparameters: a threshold related to the distribution of categories in the variables and the PCA representativeness. This paper applies the proposed approach to the well-known cybersecurity NSLKDD dataset to select and convert three categorical features to numerical features. After choosing the threshold parameter, we use conditional probabilities to convert the three categorical variables into six new numerical variables. Next, we feed these numerical variables to the PCA algorithm and select the whole or partial numbers of the Principal Components (PCs). Finally, by applying binary classification with ten different classifiers, we measure the performance of the new encoder and compare it with the other 17 well-known category encoders. The new technique achieves the highest performance related to accuracy and Area Under the Curve (AUC) on high cardinality categorical variables. Also, we define the harmonic average metrics to find the best trade-off between train and test performances and prevent underfitting and overfitting. Ultimately, the number of newly created numerical variables is minimal. This data reduction improves computational processing time in Internet of things (IoT) devices connected to future networks.",
keywords = "Categorical Encoders, Dimensionality Reduction, Feature Selection, Internet of things, Machine Learning, NSLKDD, Principal Component Analyses",
author = "Hamed Farkhari and Joseanne Viana and Campos, {Lu{\'i}s Miguel} and Pedro Sebasti{\~a}o and Lu{\'i}s Bernardo",
note = "Funding Information: info:eu-repo/grantAgreement/EC/H2020/813391/EU# Publisher Copyright: {\textcopyright} 2022 IEEE.; 2022 IEEE GLOBECOM Workshops, GC Wkshps 2022 ; Conference date: 04-12-2022 Through 08-12-2022",
year = "2022",
doi = "10.1109/GCWkshps56602.2022.10008757",
language = "English",
isbn = "978-1-6654-5976-1",
series = "2022 IEEE GLOBECOM Workshops, GC Wkshps 2022 - Proceedings",
publisher = "Institute of Electrical and Electronics Engineers (IEEE)",
pages = "789--795",
booktitle = "2022 IEEE GLOBECOM Workshops, GC Wkshps 2022 - Proceedings",
address = "United States",
}