Litcius/Paper detail

The impact of neglecting feature scaling in k-means clustering

Chantha Wongoutong

2024PLoS ONE49 citationsDOIOpen Access PDF

Abstract

Despite the popularity of k-means clustering, feature scaling before applying it can be an essential yet often neglected step. In this study, feature scaling via five methods: Z-score, Min-Max normalization, Percentile transformation, Maximum absolute scaling, or RobustScaler beforehand was compared with using the raw (i.e., non-scaled) data to analyze datasets having features with different or the same units via k-means clustering. The results of an experimental study show that, for features with different units, scaling them before k-means clustering provided better accuracy, precision, recall, and F-score values than when using the raw data. Meanwhile, when features in the dataset had the same unit, scaling them beforehand provided similar results to using the raw data. Thus, scaling the features beforehand is a very important step for datasets with different units, which improves the clustering results and accuracy. Of the five feature-scaling methods used in the dataset with different units, Z-score standardization and Percentile transformation provided similar performances that were superior to the other or using the raw data. While Maximum absolute scaling, slightly more performances than the other scaling methods and raw data when the dataset contains features with the same unit, the improvement was not significant.

Topics & Concepts

ScalingCluster analysisNormalization (sociology)Pattern recognition (psychology)Raw dataComputer scienceFeature (linguistics)PercentileTransformation (genetics)Data miningArtificial intelligenceMathematicsStatisticsLinguisticsAnthropologyChemistryBiochemistryPhilosophyGeometrySociologyGeneAdvanced Clustering Algorithms ResearchData Mining Algorithms and ApplicationsFace and Expression Recognition