光学 精密工程, 2013, 21 (7): 1865, 网络出版: 2013-08-05  

似然关系模型在航天软件缺陷预测中的应用

Application of probabilistic relational model to aerospace software defect prediction
作者单位
中国科学院 长春光学精密机械与物理研究所, 吉林 长春 130033
摘要
将似然关系模型在描述和推理多属性类之间关系及其不确定性知识方面的优势用于预测软件缺陷, 提出了航天软件缺陷预测模型PRM_METHOD。首先, 提出了基于软件测试的软件缺陷分类方法, 以软件缺陷类关系为例分析了似然关系模型用于航天软件缺陷预测的理论依据; 然后, 在对人员能力、缺陷数量特征等数据进行定义和泛化等预处理的基础上, 描述了提出的预测模型PRM_METHOD, 详细阐述其结构、学习过程以及预测过程, 并针对数据集的分类操作提出了基于弥合数据缝隙的k-均值聚类方法。最后, 以某航天项目软件为例验证了模型PRM_METHOD的实现过程, 并以实际测试工作中产生的历史数据作为训练集和验证集进行实验验证。验证结果显示, 验证集的记录与预测结果的平均绝对偏差均值为0.086 8, 即模型的预测精度为0.913 2, 表明该模型对关联关系较为复杂的航天软件缺陷有较好的预测精度。
Abstract
An aerospace software defect prediction model PRM_METHOD was proposed by use of the advantage of probabilistic relational model in describing and reasoning the relationship between multi-attribute classes and their uncertainty knowledge. First, a software defect classification method based on software test was proposed, and the theoretical basis of the application of probabilistic relational model to the aerospace software defect prediction was analyzed via the relationship between software defect classes. Then, under the definition and generalization of staff capacity and the feature of defect quantity, the model PRM_METHOD was described with its structure, learning and predict process. Moreover, an improved k-average clustering algorithm based on closing data gap was proposed aim at data set classification operation. Finally, an aerospace software was taken as the example to actualize the model, and the practical testing data were used as the training set and validation set to validate it as well. The results show that the average of mean absolute deviation between the validation set and predict result is 0.086 8, which means the prediction accuracy of the model is 0.913 2. Therefore, the conclusion is that the model PRM_METHOD has better prediction accuracy to the aerospace software defect prediction with a more complex associated relationship.

陈媛, 沈湘衡, 王安邦, 宋元章. 似然关系模型在航天软件缺陷预测中的应用[J]. 光学 精密工程, 2013, 21(7): 1865. CHEN Yuan, SHEN Xiang-heng, WANG An-bang, SONG Yuan-zhang. Application of probabilistic relational model to aerospace software defect prediction[J]. Optics and Precision Engineering, 2013, 21(7): 1865.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!