arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.01035cs.SE
收藏

二进制机器学习分类器识别代码注释类型的性能比较:一项探索性研究

Performance Comparison of Binary Machine Learning Classifiers in Identifying Code Comment Types: An Exploratory Study

Amila Indika, Peter Y. Washington, Anthony Peruma

摘要:

代码注释对源代码至关重要,因为它们有助于开发人员完成程序理解任务。代码注释是用自然语言(通常是英语)编写的,它传达各种不同的信息,这些信息被分组到特定的类别中。在这项研究中,我们构建了19个二进制机器学习分类器的代码注释类别,属于三种不同的程序设计语言。我们提出了不同类型的机器学习分类器的性能分数的比较,并表明线性SVC分类器具有最高的平均F1分数0.5474。

英文摘要:

Code comments are vital to source code as they help developers with program comprehension tasks. Written in natural language (usually English), code comments convey a variety of different information, which are grouped into specific categories. In this study, we construct 19 binary machine learning classifiers for code comment categories that belong to three different programming languages. We present a comparison of performance scores for different types of machine learning classifiers and show that the Linear SVC classifier has the highest average F1 score of 0.5474.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑