节点文献

基于word2vec的程序编译错误信息特征提取方法

Feature Extraction Method of Program Compilation Error Information Based on Word2vec

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 何烨辛谷林孙晨

【Author】 HE Yexin;GU Lin;SUN Chen;School of Computer Science,Xi’an Polytechnic University;College of Management,Xi’an University of Science and Technology;New Rural Cooperative Medical Service Operation Center,Yanliang District,Xi’an;

【机构】 西安工程大学计算机科学学院西安科技大学管理学院西安市阎良区新型农村合作医疗经办中心

【摘要】 输入表示为固定长度的特征向量是机器学习算法要求之一。针对编程中的编译错误信息特征,论文提出了基于word2vec模型对编译错误信息进行特征提取。利用滑动窗口取词的方式,建立one-hot字典,结合word2vec中的Skip-gram模型,构建Huffman树,从可变长度的文本中学习固定长度的特征表示。最后使用SVM分类算法进行实验结果的验证。结果表明,该特征提取方法在编译错误信息中有显著的效果。

【Abstract】 One of the requirements of machine learning algorithms is to represent the input as a fixed length eigenvector. Aiming at the features of compile error information in programming,this paper proposes to extract the features of compile error information based on word2vec model. The one-hot dictionary is established by using the sliding window to pick words,and the Skip-gram model in word2vec is combined to build the Huffman tree to learn the feature representation of fixed length from the text of variable length. Finally,SVM classification algorithm is used to verify the experimental results. The results show that the feature extraction method is effective in compiling error messages.

  • 【文献出处】 计算机与数字工程 ,Computer & Digital Engineering , 编辑部邮箱 ,2022年06期
  • 【分类号】TP181;TP391.1
  • 【下载频次】60
节点文献中: 

本文链接的文献网络图示:

本文的引文网络