Application of KNN algorithm integrating Gaussian function in accurate marketing classification of e-commerce platforms

As the boost of the e-commerce industry, classifying users to achieve precise marketing has become an important topic. The traditional K-nearest neighbor algorithm is sensitive to outliers and has high computational complexity. Existing research lacks robust classification methods that can effectively handle the noise and high-dimensional features commonly present in e-commerce data while maintaining a low computational complexity. Therefore, the research proposes a new method integrating the Gaussian function into the KNN algorithm framework. The core innovation lies in the utilization of the probabilistic characteristics and smoothing properties of the Gaussian function, fundamentally changing the traditional KNN decision-making mechanism based on uniform distance. This method achieves a fundamental breakthrough in dealing with complex user behavior patterns by assigning probability-based weights to neighboring samples, thereby enhancing the model’s robustness to noisy data and local density variations. The experiment showcases that the model possesses a subject working feature area of 0.86 and 0.82 on the training and testing sets, respectively, which is significantly better than other models. This algorithm performs better in terms of convergence speed and average sum of squares of error compared to traditional algorithms, with an increase of 55.56% in convergence speed and a decrease of 71.74% in average sum of squares of error. In terms of customer feature classification, the algorithm significantly improves in terms of indicators. After strategic optimization, the marketing strategy forecast achieves high sales, and the overall revenue increases by approximately 20.74% compared to the traditional marketing strategy forecast. The research confirms the significant application value of the G-KNN algorithm in precise marketing of e-commerce: on the one hand, it can achieve more refined customer segmentation, providing a reliable basis for personalized recommendations and targeted promotions; On the other hand, by enhancing the accuracy of classification, marketing costs are effectively reduced and the input–output ratio of marketing are improved. This algorithm provides a practical technical tool for e-commerce platforms to optimize marketing decisions and enhance user satisfaction.

Authors

Institutions

Publication Details

Journal
Discover Applied Sciences
Published
2026-04-01
DOI
https://doi.org/10.1007/s42452-026-08582-5
Primary Topic
Advanced Technologies in Various Fields
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Application of KNN algorithm integrating Gaussian function in accurate marketing classification of e-commerce platforms

Yunshan Shi
Discover Applied Sciences
Advanced Technologies in Various Fields
article

Application of KNN algorithm integrating Gaussian function in accurate marketing classification of e-commerce platforms

Yunshan Shi
article en

Abstract

As the boost of the e-commerce industry, classifying users to achieve precise marketing has become an important topic. The traditional K-nearest neighbor algorithm is sensitive to outliers and has high computational complexity. Existing research lacks robust classification methods that can effectively handle the noise and high-dimensional features commonly present in e-commerce data while maintaining a low computational complexity. Therefore, the research proposes a new method integrating the Gaussian function into the KNN algorithm framework. The core innovation lies in the utilization of the probabilistic characteristics and smoothing properties of the Gaussian function, fundamentally changing the traditional KNN decision-making mechanism based on uniform distance. This method achieves a fundamental breakthrough in dealing with complex user behavior patterns by assigning probability-based weights to neighboring samples, thereby enhancing the model’s robustness to noisy data and local density variations. The experiment showcases that the model possesses a subject working feature area of 0.86 and 0.82 on the training and testing sets, respectively, which is significantly better than other models. This algorithm performs better in terms of convergence speed and average sum of squares of error compared to traditional algorithms, with an increase of 55.56% in convergence speed and a decrease of 71.74% in average sum of squares of error. In terms of customer feature classification, the algorithm significantly improves in terms of indicators. After strategic optimization, the marketing strategy forecast achieves high sales, and the overall revenue increases by approximately 20.74% compared to the traditional marketing strategy forecast. The research confirms the significant application value of the G-KNN algorithm in precise marketing of e-commerce: on the one hand, it can achieve more refined customer segmentation, providing a reliable basis for personalized recommendations and targeted promotions; On the other hand, by enhancing the accuracy of classification, marketing costs are effectively reduced and the input–output ratio of marketing are improved. This algorithm provides a practical technical tool for e-commerce platforms to optimize marketing decisions and enhance user satisfaction.

Discover Applied Sciences
Changzhou Institute of Technology (CN)
Industry, innovation and infrastructure
Openalex Percentile: Top 6%
Advanced Technologies in Various Fields
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.