提出一种自动优选最小二乘支持向量机(LSSVM)模型参数的改进蚁群(MACO)算法。该算法将LSSVM模型的参数作为蚂蚁的位置向量,然后采用动态随机抽取的方法来确定目标个体引导蚁群进行全局搜索,同时在最优蚂蚁邻域内进行小步长局部搜索,找到模型的最优参数,得到基于MACO算法优化的LSSVM(MACO-LSSVM)预测模型。将优化后的LSSVM模型应用于短期电力负荷预测问题,选择湖南某地区日期为2009-08-01至2009-08-30各小时点的数据进行分析,对2009-08-31该日24 h的负荷进行预测,并与BP神经网络和SVM模型进行比较。研究结果表明:本文方法得到的均方根相对误差为1.71%,比用BP神经网络和SVM模型得到的均方根相对误差分别低1.61%和1.05%。
An optimization method based on the modified ant colony optimization(MACO) algorithm was used to select the two parameters of least square support vector machine(LSSVM) model.In this method,the parameters of LSSVM model were considered the position vector of ants.Target individuals which lead the ant colony to do global rapid search were determined by dynamic and stochastic extraction,and the optimal ant of this generation searched in small step nearly.The optimal parameter value was obtained by MACO and modified ant colony optimization-least square support vector machine(MACO-LSSVM) forecasting model was obtained.The proposed model is applied to the short-term electrical power load forecasting problem.Every hour's load from 2009-08-01 to 2009-08-30 of area in Hunan province was taken as the sample data to be analyzed.The results indicate that the root-mean-square relative error of the proposed method is only 1.71%,which is less than those of BP and SVM model by 1.61% and 1.05%,respectively.