计算机工程与应用 ›› 2014, Vol. 50 ›› Issue (23): 65-68.

• 理论研究、研发设计 • 上一篇    下一篇

粒子群算法优化的BP网络预测软件质量

宫丽娜,马怀志   

  1. 枣庄学院 信息科学与工程学院,山东 枣庄 277160
  • 出版日期:2014-12-01 发布日期:2014-12-12

Software quality prediction of BP network based on PSO

GONG Lina, MA Huaizhi   

  1. College of Information Science and Engineering, Zaozhuang University, Zaozhuang, Shandong 277160, China
  • Online:2014-12-01 Published:2014-12-12

摘要: 预测软件质量的技术中,软件建模技术是软件质量评价体系中的关键技术,它可以发现软件中度量数据和软件质量要素之间的非线性关系。BP神经网络能够很好地模拟度量数据和质量要素之间的非线性关系,但是BP网络存在易于陷入局部极小和收敛速度慢的问题,所以提出了用粒子群算法优化BP神经网络,通过优化的BP网络建立软件质量模型,这样能很好地解决BP网络收敛速度慢和局部极小的问题。在实现该进化BP神经网络的基础上,利用28组数据进行实验,并通过与BP模型的结果的比较,验证了该模型。

关键词: 软件质量预测模型, 软件度量, 神经网络, 粒子群算法

Abstract: The modeling technology of software which can find the nonlinear relationship between metric data and quality factors is the key technology in the software quality evaluation system. BP neural network is a kind of modeling method for the nonlinear relationship between metric data and quality factors, but there are some problems, such as slow convergence speed and easily getting into local minimum. So it proposes that using the optimized BP network based on PSO to establish the prediction model of software quality, which solves the problem of slow convergence speed and easily getting into local minimum well. In the basis of the evolutionary BP neural network, through the experiment with 28 groups of data, and by comparing with the result of BP model, the model is validated.

Key words: prediction model of software quality, software metrics, neural network, Particle Swarm Optimization(PSO)