PDF (1834K)
摘要
针对传统聚类算法进行高速铁路旅客市场细分结果不稳定,难以有效提取各类别旅客特征差异等问题,提出基于 Halton 序列的 K-均值-自适应学习粒子群(K-Means-Adaptive Learning Particle Swarm Optimization,KM-ALPSO)算法. 该算法基于京沪高铁客票数据研究高铁旅客市场细分. 首先,将旅客年龄、提前购票时间、出发时间段作为特征变量,利用近邻传播(Affinity Propagation,AP)算法识别数据集中的样本代表点;然后,基于 Halton 序列生成初始粒子群,使用 KM-ALPSO 算法对样本代表点进行聚类,并与经典的 K-均值算法、K-均值-粒子群(K-Means-Particle Swarm Optimization,KM-PSO)算法等进行对比分析,选择轮廓系数(Silhouette Coefficient,SC)、Davies-Bouldin(DB)、Calinski-Harabasz(CH)指标评价算法的聚类效果,确定最终聚类数目;最后,分析不同类别旅客群体的特征差异,应用频繁模式增长(Frequent Pattern-Growth,FP-Growth)算法提取强关联规则. 研究结果表明:使用 AP 算法预处理可使基于 Halton 序列的 KM-ALPSO 算法的运行时间缩短至原来的 23.26%,同时保持与未预处理时相近的评价指标值;利用 Halton 序列初始化粒子群位置,可以提升 KM-ALPSO 算法全局搜索能力;基于 Halton 序列的 KM-ALPSO 算法在客票数据分析中的聚类评价指标 SC 为 0.332,DB 为 0.933,CH 为 708.5,表明聚类数目为 5 时性能最佳,且优于其他算法;5 类旅客在年龄、提前购票时间和出发时间段上差异显著,表现出不同的出行计划性和出发时间偏好.
Abstract
To address the instability and difficulty in effectively extracting characteristic differences among passenger groups when applying traditional clustering algorithms to high-speed rail passenger market segmentation, this study proposes a K-Means-Adaptive Learning Particle Swarm Optimization (KM-ALPSO) algorithm based on the Halton sequence. This algorithm is applied to segment the high-speed rail passenger market using ticket data from the Beijing-Shanghai high-speed railway. First, considering passenger age, advance booking time, and departure period as feature variables, the Affinity Propagation (AP) algorithm is adopted to identify representative sample points within the dataset. Second, an initial particle swarm is generated based on the Halton sequence, and the KM-ALPSO algorithm is used to cluster the representative sample points. A comparative analysis is then conducted against the classic K-Means algorithm and the K-Means-Particle Swarm Optimization (KM-PSO) algorithm. The Silhouette Coefficient (SC), Davies-Bouldin (DB) index, and Calinski-Harabasz (CH) index are selected to evaluate the clustering performance and determine the optimal number of clusters. Finally, the characteristic differences among various passenger groups are analyzed, and the Frequent Pattern-Growth (FP-Growth) algorithm is employed to extract strong association rules. The results indicate that preprocessing with the AP algorithm reduces the runtime of the Halton sequence-based KM-ALPSO algorithm to 23.26% of its original duration while maintaining evaluation metrics comparable to those obtained without preprocessing. Furthermore, initializing particle swarm positions with the Halton sequence enhances the global search capability of the KM-ALPSO algorithm. In the analysis of ticket data, the Halton sequence-based KM-ALPSO algorithm achieves an SC of 0.332, a DB of 0.933, and a CH of 708.5, demonstrating that a cluster number of five yields optimal performance and outperforms the baseline algorithms. The five identified passenger groups exhibit significant differences in age, advance booking time, and departure period, revealing distinct travel planning tendencies and departure time preferences.
关键词
Key words
[Author(id=1332036108209111341, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, orderNo=0, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=298250836@qq.com, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1332036108272025903, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, authorId=1332036108209111341, language=EN, stringName=Jiale FAN, firstName=Jiale, middleName=null, lastName=FAN, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1 School of Traffic and Transportation, Beijing Jiaotong University, Beijing 100044, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1332036108326551857, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, authorId=1332036108209111341, language=CN, stringName=范家乐, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1 北京交通大学 交通运输学院, 北京 100044, bio={"content":"范家乐(2003-),男,河南信阳人,博士生. 研究方向为铁路运输组织理论与技术. email: 298250836@qq.com.
"}, bioImg=null, bioContent=范家乐(2003-),男,河南信阳人,博士生. 研究方向为铁路运输组织理论与技术. email: 298250836@qq.com.
, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1332036108041339170, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, xref=1, ext=[AuthorCompanyExt(id=1332036108062310692, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, companyId=1332036108041339170, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1 School of Traffic and Transportation, Beijing Jiaotong University, Beijing 100044, China), AuthorCompanyExt(id=1332036108079087910, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, companyId=1332036108041339170, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1 北京交通大学 交通运输学院, 北京 100044)])]), Author(id=1332036108376883508, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, orderNo=1, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=yjing@bjtu.edu.cn, emailSecond=null, emailThird=null, correspondingAuthor=1, authorType=1, ext={EN=AuthorExt(id=1332036108439798074, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, authorId=1332036108376883508, language=EN, stringName=Yun JING, firstName=Yun, middleName=null, lastName=JING, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1 School of Traffic and Transportation, Beijing Jiaotong University, Beijing 100044, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1332036108485935422, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, authorId=1332036108376883508, language=CN, stringName=景云, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1 北京交通大学 交通运输学院, 北京 100044, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1332036108041339170, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, xref=1, ext=[AuthorCompanyExt(id=1332036108062310692, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, companyId=1332036108041339170, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1 School of Traffic and Transportation, Beijing Jiaotong University, Beijing 100044, China), AuthorCompanyExt(id=1332036108079087910, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, companyId=1332036108041339170, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1 北京交通大学 交通运输学院, 北京 100044)])]), Author(id=1332036108532072770, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, orderNo=2, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1332036108594987337, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, authorId=1332036108532072770, language=EN, stringName=Yan XU, firstName=Yan, middleName=null, lastName=XU, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2 Passenger Transport Center, China National Railway Group Co., Ltd., Beijing 100844, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1332036108649513291, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, authorId=1332036108532072770, language=CN, stringName=徐彦, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2 中国国家铁路集团有限公司 客运中心, 北京 100844, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1332036108129419560, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, xref=2, ext=[AuthorCompanyExt(id=1332036108146196777, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, companyId=1332036108129419560, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2 Passenger Transport Center, China National Railway Group Co., Ltd., Beijing 100844, China), AuthorCompanyExt(id=1332036108162973994, tenantId=1045748351789510663, journalId=1327662321632509959, articleId=1332005119919592200, companyId=1332036108129419560, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2 中国国家铁路集团有限公司 客运中心, 北京 100844)])])]
范家乐,景云,徐彦.
基于聚类算法的高铁旅客市场细分方法研究[J].
北京交通大学学报, 2026, 50(3): 63-72 DOI:10.11860/j.issn.1673-0291.20250139
| [1] |
单杏花 . 铁路客运收益管理模型及应用研究[D]. 北京: 中国铁道科学研究院, 2012.
|
| [2] |
SHAN Xinghua . Study on railway revenue management model and its application in passenger transportation[D]. Beijing: China Academy of Railway Sciences, 2012. (in Chinese)
|
| [3] |
MOHIUDDIN H, FITCH-POLSE D T, HANDY S L. Examining market segmentation to increase bike-share use and enhance equity: The case of the greater Sacramento region[J]. Transport Policy, 2024, 145: 279-290.
|
| [4] |
尹溪琛 . 基于旅客画像和出行链模型的交通出行推荐方法及应用[D]. 北京: 北京交通大学, 2021.
|
| [5] |
YIN Xichen . Travel recommendation method and application based on passenger profile and trip chain model[D]. Beijing: Beijing Jiaotong University, 2021. (in Chinese)
|
| [6] |
侯现耀, 陈学武 . 基于态度的公交出行信息使用市场细分[J]. 吉林大学学报(工学版), 2018, 48(1): 98-104.
|
| [7] |
HOU Xianyao, CHEN Xuewu . Use of public transit information market segmentation based onattitudinal factors[J]. Journal of Jilin University (Engineering and Technology Edition), 2018, 48(1): 98-104. (in Chinese)
|
| [8] |
程龙, 陈学武, 杨硕, 等 . 基于市场细分的低收入通勤者公交出行改善对策[J]. 交通运输系统工程与信息, 2016, 16(3): 8-14.
|
| [9] |
CHENG Long, CHEN Xuewu, YANG Shuo, et al. Public transit improvement measures of low-income commuters based on market segmentation[J]. Journal of Transportation Systems Engineering and Information Technology, 2016, 16(3): 8-14. (in Chinese)
|
| [10] |
JIA W Z, TAN Y Y, LIU L, et al. Hierarchical prediction based on two-level Gaussian mixture model clustering for bike-sharing system[J]. Knowledge-Based Systems, 2019, 178: 84-97.
|
| [11] |
JIAO L M, DENŒUX T, LIU Z G, et al. EGMM: An evidential version of the Gaussian mixture model for clustering[J]. Applied Soft Computing, 2022, 129: 109619.
|
| [12] |
MASSON M H, DENŒUX T . ECM: An evidential version of the fuzzy c-means algorithm[J]. Pattern Recognition, 2008, 41(4): 1384-1397.
|
| [13] |
俞诚成, 吕红霞 . 基于大数据铁路旅客画像的客运营销策略研究[J]. 铁道学报, 2020, 42(8): 23-28.
|
| [14] |
YU Chengcheng, LÜ Hongxia . Research on passenger transport marketing strategy based on big data railway passenger portrait[J]. Journal of the China Railway Society, 2020, 42(8): 23-28. (in Chinese)
|
| [15] |
TAO X R, PAN Q K, SANG H Y, et al. A multiobjective optimizer with a K-means cluster algorithm for a distributed flexible flowshop rescheduling problem[J]. Applied Soft Computing, 2024, 166: 112124.
|
| [16] |
LI Y, CHU X Q, TIAN D, et al. Customer segmentation using K-means clustering and the adaptive particle swarm optimization algorithm[J]. Applied Soft Computing, 2021, 113: 107924.
|
| [17] |
JAIN M, SAIHJPAL V, SINGH N, et al. An overview of variants and advancements of PSO algorithm[J]. Applied Sciences, 2022, 12(17): 8392.
|
| [18] |
WEERASINGHE G, CHI H M, CAO Y Z . Particle swarm optimization simulation via optimal Halton sequences [J]. Procedia Computer Science, 2016, 80: 772-781.
|
| [19] |
FREY B J, DUECK D . Clustering by passing messages between data points[J]. Science, 2007, 315(5814): 972-976.
|
| [20] |
吕红霞, 王文宪, 蒲松, 等 . 基于聚类分析的铁路出行旅客类别划分[J]. 交通运输系统工程与信息, 2016, 16(1): 129-134.
|
| [21] |
LV Hongxia, WANG Wenxian, PU Song, et al. Classification of railway passengers based on cluster analysis[J]. Journal of Transportation Systems Engineering and Information Technology, 2016, 16(1): 129-134. (in Chinese)
|
| [22] |
陈权超 . 基于大数据的高速铁路客流分析[D]. 成都: 西南交通大学, 2020.
|
| [23] |
CHEN Quanchao . Research on passenger flow analysis of High Speed Railway based on big data[D]. Chengdu: Southwest Jiaotong University, 2020. (in Chinese)
|
| [24] |
方腾源, 徐峰祥, 朱其茂, 等 . 时空约束下的道路交通事故与违法行为关联规则研究[J]. 交通运输系统工程与信息, 2025, 25(3): 246-254.
|
| [25] |
FANG Tengyuan, XU Fengxiang, ZHU Qimao, et al. Association rules between urban road traffic accidents and violations considering temporal and spatial constraints[J]. Journal of Transportation Systems Engineering and Information Technology, 2025, 25(3): 246-254. (in Chinese)
|
| [26] |
SUN J, WU X J, PALADE V, et al. Random drift particle swarm optimization algorithm: Convergence analysis and parameter selection [J]. Machine Learning, 2015, 101(1): 345-376.
|
| [27] |
李海杰, 苗蕾, 聂磊, 等 . 基于关联规则和主成分分析的高铁旅客购票行为特征研究[J]. 铁道科学与工程学报, 2023, 20(6): 2013-2025.
|
| [28] |
LI Haijie, MIAO Lei, NIE Lei, et al. High-speed railway passenger ticketing behavior characteristics based on association rules and principal component analysis[J]. Journal of Railway Science and Engineering, 2023, 20(6): 2013-2025. (in Chinese)
|
| [29] |
LIN K C, LIAO I E, CHEN Z S . An improved frequent pattern growth method for mining association rules[J]. Expert Systems with Applications, 2011, 38(5): 5154-5161.
|
| [30] |
乔珂, 赵鹏, 文佳星 . 基于潜在类别模型的高铁旅客市场细分[J]. 交通运输系统工程与信息, 2017, 17(2): 28-34.
|
| [31] |
QIAO Ke, ZHAO Peng, WEN Jiaxing . Passenger market segmentation of high-speed railway based on latent class model[J]. Journal of Transportation Systems Engineering and Information Technology, 2017, 17(2): 28-34. (in Chinese)
|
| [32] |
冯晓磊 . 近邻传播聚类算法研究[D]. 郑州: 解放军信息工程大学, 2011.
|
| [33] |
FENG Xiaolei . Research on affinity propagation clustering algorithm[D]. Zhengzhou: People’s Liberation Army Information Engineering University, 2011. (in Chinese)
|
基金资助
国家自然科学基金(52372300)