Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2011, Vol. 37 ›› Issue (12): 36-37. doi: 10.3969/j.issn.1000-3428.2011.12.012

• Networks and Communications • Previous Articles     Next Articles

Software Defect Prediction Model Based on Particle Swarm Optimization and Na?ve Bayes

GE He-he, JIN Cong, YE Jun-min   

  1. (Department of Computer Science, Central China Normal University, Wuhan 430079, China)
  • Received:2010-11-18 Online:2011-06-20 Published:2011-06-20

基于PSO和朴素贝叶斯的软件缺陷预测模型

葛贺贺,金 聪,叶俊民   

  1. (华中师范大学计算机科学系,武汉 430079)
  • 作者简介:葛贺贺(1986-),男,硕士研究生,主研方向:软件质量工程;金 聪,教授、博士;叶俊民,教授、博士后
  • 基金资助:
    湖北省自然科学基金资助项目(2010CDB04001)

Abstract: In order to design effective software defect prediction model, this paper proposes an approach combining Particle Swarm Optimization(PSO) algorithm and Na?ve Bayes(NB). After discretizing the original data, the error rate of NB is taken as fitness function of the particle, and a software defect prediction model is constructed. It applies one software project JM1 data of NASA to implement the simulation experiment. The results show that the approach proposed has lower error rate than other methods, and has good performance.

Key words: software defect, prediction model, Particle Swarm Optimization(PSO), Na?ve Bayes(NB), data discretization

摘要: 为了设计高效的软件缺陷预测模型,提出一种将粒子群优化算法与朴素贝叶斯(NB)相结合的方法。该方法对历史数据进行离散化后,以NB分类的错误率作为粒子适应值函数,构建软件缺陷预测模型。通过对美国国家航天局软件工程项目的JM1数据进行仿真实验,证明该模型在预测性能方面优于同类方法,预测效果良好。

关键词: 软件缺陷, 预测模型, 粒子群优化, 朴素贝叶斯, 数据离散化

CLC Number: