跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:1906.01032 (cs)
[提交于 2019年6月5日]

标题:A Language-Agnostic Model for Semantic Source Code Labeling

作者:Ben Gelman, Bryan Hoyle, Jessica Moore, Joshua Saxe, David Slater
查看论文《A Language-Agnostic Model for Semantic Source Code Labeling》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Code search and comprehension have become more difficult in recent years due to the rapid expansion of available source code. Current tools lack a way to label arbitrary code at scale while maintaining up-to-date representations of new programming languages, libraries, and functionalities. Comprehensive labeling of source code enables users to search for documents of interest and obtain a high-level understanding of their contents. We use Stack Overflow code snippets and their tags to train a language-agnostic, deep convolutional neural network to automatically predict semantic labels for source code documents. On Stack Overflow code snippets, we demonstrate a mean area under ROC of 0.957 over a long-tailed list of 4,508 tags. We also manually validate the model outputs on a diverse set of unlabeled source code documents retrieved from Github, and we obtain a top-1 accuracy of 86.6%. This strongly indicates that the model successfully transfers its knowledge from Stack Overflow snippets to arbitrary source code documents.
评论: MASES 2018 Publication
主题: 机器学习 (cs.LG); 计算与语言 (cs.CL); 软件工程 (cs.SE); 机器学习 (stat.ML)
引用方式: arXiv:1906.01032 [cs.LG]
  (或者 arXiv:1906.01032v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.1906.01032
相关 DOI: https://doi.org/10.1145/3243127.3243132

提交历史

来自:Ben Gelman
[v1] 2019年6月5日 星期三 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-06
切换浏览方式为:
cs
cs.CL
cs.SE
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站