检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:于振华 刘争气 刘颖 郭城[3] YU Zhenhua;LIU Zhengqi;LIU Ying;GUO Cheng(College of Computer Science and Technology,Xi’an University of Science and Technology,Xi’an Shaanxi 710054,China;National Key Laboratory for Complex Systems Simulation,Beijing 100101,China;Xi’an Institute of Applied Optics,Xi’an Shaanxi 710065,China)
机构地区:[1]西安科技大学计算机科学与技术学院,西安710054 [2]复杂系统仿真总体重点实验室,北京100101 [3]西安应用光学研究所,西安710065
出 处:《计算机应用》2023年第4期1206-1213,共8页journal of Computer Applications
基 金:国家自然科学基金资助项目(61873277)。
摘 要:特征选择是软件缺陷预测中数据预处理的关键步骤。针对现有特征选择方法存在的降维效果不显著、选取的最优特征子集分类精度低等问题,提出了一种基于自适应混合粒子群优化(SHPSO)的软件缺陷预测特征选择方法。首先,结合种群划分设计了基于Q学习的自适应权重更新策略,其中引入Q学习根据粒子的状态自适应地调整惯性权重;其次,为了平衡算法前期的全局搜索能力和后期的收敛速度,提出了基于曲线自适应的时变学习因子;最后,采用混合位置更新策略帮助粒子尽快跳出局部最优解,并增加粒子的多样性。在12个公开软件缺陷数据集上进行实验验证的结果表明,与使用全部特征的方法、常用的传统特征选择方法及主流的基于智能优化算法的特征选择方法相比,所提方法在提高软件缺陷预测模型分类性能和降低特征空间维度上均取得了有效的结果。与改进樽海鞘群算法(ISSA)相比,所提方法的分类精度平均提高了约1.60%,特征子集规模平均降低了约63.79%。实验结果表明,所提方法可以选出分类精度较高且数量较少的特征子集。Feature selection is a key step in data preprocessing for software defect prediction.Aiming at the problems of existing feature selection methods such as not significant dimension reduction performance and low classification accuracy of selected optimal feature subset,a feature selection method for software defect prediction based on Self-adaptive Hybrid Particle Swarm Optimization(SHPSO)was proposed.Firstly,combined with population partition,a self-adaptive weight update strategy based on Q-learning was designed,in which Q-learning was introduced to adaptively adjust the inertia weight according to the states of the particles.Secondly,to balance the global search ability in the early stage of the algorithm and the convergence speed in the later stage,the curve adaptivity based time-varying learning factors were proposed.Finally,a hybrid location update strategy was adopted to help particles jump out of the local optimal solution as soon as possible and increase the diversity of particles.Experiments were carried out on 12 public software defect datasets.The results show that the proposed method can effectively improve the classification accuracy of software defect prediction model and reduce the dimension of feature space compared with the method using all features,the commonly used traditional feature selection methods and the mainstream feature selection methods based on intelligent optimization algorithms.Compared with Improved Salp Swarm Algorithm(ISSA),the proposed method increases the classification accuracy by about 1.60%on average and reduces the feature subset size by about 63.79%on average.Experimental results show that the proposed method can select a feature subset with high classification accuracy and small size.
关 键 词:特征选择 软件缺陷预测 粒子群优化算法 正余弦算法 Q学习
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30