二元机器学习分类器识别代码注释类型的性能比较:一项探索性研究
软件工程
2023-03-06 v2
摘要
代码注释对源代码至关重要,因其有助于开发人员完成程序理解任务。代码注释以自然语言(通常为英语)书写,传达多种不同信息,这些信息被归为特定类别。在本研究中,我们针对属于三种不同编程语言的代码注释类别构建了 19 个二元机器学习分类器。我们展示了不同机器学习分类器性能得分的比较,并表明 Linear SVC 分类器具有最高的平均 F1 分数 0.5474。
引用
@article{arxiv.2303.01035,
title = {Performance Comparison of Binary Machine Learning Classifiers in Identifying Code Comment Types: An Exploratory Study},
author = {Amila Indika and Peter Y. Washington and Anthony Peruma},
journal= {arXiv preprint arXiv:2303.01035},
year = {2023}
}
备注
This study has been accepted at: The 2nd International Workshop on Natural Language-based Software Engineering (NLBSE 2023); Tool Competition Track