摘要
针对室内定位算法在定位时所用时间较长和定位精度较低的问题,提出了一种基于改进LightGBM(light gradient boosting machine)算法的室内定位算法。该算法首先针对指纹库中的数据进行预处理,通过KNN(K-nearest neighborhood)算法去除异常点和离群点,降低环境噪声干扰,提高数据可靠性。接下来,将样本集划分为训练集和测试集,使用LightGBM算法对进行建模。同时,使用遗传算法调整LightGBM算法中的参数,并根据适应度函数寻找最优参数,得到LightGBM+GA(genetic algorithm)坐标预测模型。最后,根据优化后的参数建立预测模型实现坐标预测。实验结果表明,该算法在WiFi定位的精度上较与极限梯度提升(extreme gradient boosting,XGBoost)算法提高0.1 m,相较于GBDT(gradient boosting decision tree)算法提高0.19 m,在定位时间上,LightGBM+GA算法比GBDT算法快5.10 s,比XGBoost算法快5.97 s,具有较好的实用性。
Aiming at the problems of long time and low positioning accuracy of indoor positioning algorithm,an indoor positioning algorithm based on improved LightGBM(light gradient boosting machine)algorithm was proposed.The algorithm first preprocessed the data in the fingerprint database,and removed outliers and outliers through KNN(K-nearest neighborhood)algorithm to reduce environmental noise interference and improve data reliability.Next,the algorithm divided the sample set into training set and test set,and used LightGBM algorithm to model.At the same time,genetic algorithm was used to adjust the parameters in LightGBM algorithm,and the optimal parameters were found according to the fitness function to obtain the LightGBM+GA(genetic algorithm)coordinate prediction model.Finally,a prediction model was established according to the optimized parameters to realize coordinate prediction.The experimental results show that the algorithm improves the accuracy of WiFi positioning by 0.1 m compared with XGBoost(extreme gradient boosting,XGBoost)algorithm and 0.19 m compared with GBDT algorithm.In terms of positioning time,LightGBM+GA algorithm is 5.10 s faster than GBDT(gradient boosting decision tree)algorithm and 5.97 s faster than XGBoost algorithm,which has good practicability.
作者
卢海钊
张烈平
王守峰
陈泓源
LU Hai-zhao;ZHANG Lie-ping;WANG Shou-feng;CHEN Hong-yuan(Key Laboratory of Advanced Manufacturing and Automation Technology,Education Department of Guangxi Zhuang Autonomous Region,Guilin University of Technology,Guilin 541006,China;Department of Electrical and Electronic Engineering,Guilin University of Technology,Nanning 532100,China)
出处
《科学技术与工程》
北大核心
2024年第15期6306-6312,共7页
Science Technology and Engineering
基金
国家自然科学基金(61741303)
广西空间信息与测绘重点实验室基金(19-185-10-08)
广西高校中青年教师科研基础能力提升项目(2023KY0263)。