arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2201.12786cs.IR
收藏

计算笔记本上的相似性搜索

Similarity Search on Computational Notebooks

Misato Horiuchi, Yuya Sasaki, Chuan Xiao, Makoto Onizuka

摘要:

计算笔记本软件,如Xueyter Notebook,在数据科学任务中很受欢迎。大量的计算笔记本可以在Web上使用,并且可以重复使用;然而,手动搜索计算笔记本是一项繁琐的任务,并且到目前为止,还没有有效和高效地搜索计算笔记本的工具。在本文中,我们提出了一个计算笔记本上的相似性搜索,并开发了一个新的框架相似性搜索。给定内容(即,源代码、表格数据、库和输出格式)作为查询,相似性搜索问题旨在找到具有最相似内容的前k个计算笔记本。我们定义了两个相似性度量;基于集合和基于图的相似性。基于集合的相似性独立地处理每个内容,而基于图的相似性捕获内容之间的关系。我们的框架可以有效地修剪计算笔记本电脑的候选人,不应该在前k结果。此外,我们开发了优化技术,如缓存和索引,以加速搜索。使用Kaggle笔记本的实验表明,我们的方法,特别是基于图的相似性,可以实现高精度和高效率。

英文摘要:

Computational notebook software such as Jupyter Notebook is popular for data science tasks. Numerous computational notebooks are available on the Web and reusable; however, searching for computational notebooks manually is a tedious task, and so far, there are no tools to search for computational notebooks effectively and efficiently. In this paper, we propose a similarity search on computational notebooks and develop a new framework for the similarity search. Given contents (i.e., source codes, tabular data, libraries, and outputs formats) in computational notebooks as a query, the similarity search problem aims to find top-k computational notebooks with the most similar contents. We define two similarity measures; set-based and graph-based similarities. Set-based similarity handles each content independently, while graph-based similarity captures the relationships between contents. Our framework can effectively prune the candidates of computational notebooks that should not be in the top-k results. Furthermore, we develop optimization techniques such as caching and indexing to accelerate the search. Experiments using Kaggle notebooks show that our method, in particular graph-based similarity, can achieve high accuracy and high efficiency.

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

↑