Bug or Not?使用N-Gram IDF进行缺陷报告分类
Bug or Not? Bug Report Classification Using N-Gram IDF
摘要:
以前的研究发现,大量的错误报告被错误地分类为错误和非错误,手动分类错误报告是一项耗时的任务。为了解决这个问题,我们提出了一个错误报告分类模型与N-gram IDF,逆文档频率(IDF)的理论扩展,用于处理任何长度的单词和短语。N-gram IDF使我们能够从文本中提取任意长度的关键词,这些关键词可以作为特征来分类错误报告。我们使用逻辑回归和随机森林来构建分类模型,使用N-gram IDF和主题建模中的特征,这在各种软件工程任务中被广泛使用。通过公开的数据集,我们的结果表明,我们的N-gram基于IDF的模型在所有评估的情况下都比基于主题的模型具有更好的性能。我们的模型显示出良好的效果,并有可能被扩展到其他软件工程任务。
英文摘要:
Previous studies have found that a significant number of bug reports are misclassified between bugs and non-bugs, and that manually classifying bug reports is a time-consuming task. To address this problem, we propose a bug reports classification model with N-gram IDF, a theoretical extension of Inverse Document Frequency (IDF) for handling words and phrases of any length. N-gram IDF enables us to extract key terms of any length from texts, these key terms can be used as the features to classify bug reports. We build classification models with logistic regression and random forest using features from N-gram IDF and topic modeling, which is widely used in various software engineering tasks. With a publicly available dataset, our results show that our N-gram IDF-based models have a superior performance than the topic-based models on all of the evaluated cases. Our models show promising results and have a potential to be extended to other software engineering tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。