清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

Deep code search efficiency based on clustering

计算机科学 编码(集合论) 代码段 匹配(统计) 聚类分析 算法 数据挖掘 人工智能 情报检索 数学 程序设计语言 集合(抽象数据类型) 统计
作者
K. Liu,Jianxun Liu,Haize Hu
出处
期刊:Concurrency and Computation: Practice and Experience [Wiley]
卷期号:36 (13)
标识
DOI:10.1002/cpe.8027
摘要

Abstract The deep‐learning based code search model mainly takes accuracy as the only target for judging the performance of the model, ignoring the efficiency of code search. This article proposes a clustering‐based code search model (C‐DCS). C‐DCS uses the K‐Means to divide the code vector base into K clusters and obtains the center vectors of K clusters. While searching, C‐DCS first matches the query vector with the K center vectors to get the best matching center vector. After matching the center vector, C‐DCS matches the query vector with code vectors in the cluster corresponding to the best matching center vector one by one and then gets the best matching code snippet vector. To verify the efficiency of C‐DCS in the code search task, experimental analysis was built on a large dataset. The experimental results showed that C‐DCS saves 92.2% of the search time compared to the baseline model while remaining the accuracy. In the experimental evaluation section, we optimized the K‐Means algorithm to improve the code search efficiency of C‐DCS further, reducing the search time to 93.8% of the baseline model. Hence, C‐DCS reduces the code search time greatly with not affecting the accuracy, improving the efficiency of software development.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
飞快的冰淇淋完成签到 ,获得积分10
5秒前
11秒前
wushuimei完成签到 ,获得积分0
11秒前
12秒前
12305014077完成签到 ,获得积分10
14秒前
cocopan发布了新的文献求助10
16秒前
科研通AI2S应助科研通管家采纳,获得10
22秒前
Qian完成签到 ,获得积分10
22秒前
阿童木完成签到 ,获得积分10
25秒前
27秒前
30秒前
Huang发布了新的文献求助10
34秒前
温暖完成签到 ,获得积分10
34秒前
冷傲听白发布了新的文献求助10
35秒前
TT完成签到,获得积分10
39秒前
keleboys完成签到 ,获得积分10
40秒前
44秒前
Drwenlu完成签到,获得积分10
49秒前
50秒前
haocong完成签到 ,获得积分10
53秒前
sobergod完成签到 ,获得积分10
1分钟前
维生素CCC完成签到 ,获得积分10
1分钟前
大个应助cocopan采纳,获得10
1分钟前
机智灵薇完成签到,获得积分10
1分钟前
sci完成签到 ,获得积分10
1分钟前
辛勤的喉完成签到 ,获得积分10
1分钟前
卷心菜完成签到 ,获得积分10
2分钟前
neu_zxy1991完成签到,获得积分10
2分钟前
义气的青枫完成签到 ,获得积分10
2分钟前
情怀应助周怀宇采纳,获得10
2分钟前
xu完成签到 ,获得积分10
2分钟前
三心草完成签到 ,获得积分10
2分钟前
优雅的平安完成签到 ,获得积分0
2分钟前
fabian完成签到,获得积分10
2分钟前
Heart_of_Stone完成签到 ,获得积分10
2分钟前
小学生完成签到 ,获得积分10
2分钟前
小手冰凉完成签到 ,获得积分10
2分钟前
PAD完成签到,获得积分10
2分钟前
阿曼尼完成签到 ,获得积分10
2分钟前
我睡觉的时候不困完成签到 ,获得积分10
2分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Earth System Geophysics 1000
Bioseparations Science and Engineering Third Edition 1000
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 1000
Entre Praga y Madrid: los contactos checoslovaco-españoles (1948-1977) 1000
Encyclopedia of Materials: Plastics and Polymers 800
Signals, Systems, and Signal Processing 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6118156
求助须知:如何正确求助?哪些是违规求助? 7946448
关于积分的说明 16478512
捐赠科研通 5241082
什么是DOI,文献DOI怎么找? 2799980
邀请新用户注册赠送积分活动 1781565
关于科研通互助平台的介绍 1653483