We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Library & Information Science/Import2vec: Learning Embeddings for Software Libraries
Conference ProceedingsLibrary & Information Science

Import2vec: Learning Embeddings for Software Libraries

2019

Checking your access to this record.

Abstract & Overview

We consider the problem of developing suitable learning representations (embeddings) for library packages that capture semantic similarity among libraries. Such representations are known to improve the performance of downstream learning tasks (e.g. classification) or applications such as contextual search and analogical reasoning. We apply word embedding techniques from natural language processing (NLP) to train embeddings for library packages ("library vectors"). Library vectors represent libraries by similar context of use as determined by import statements present in source code. Experimental results obtained from training such embeddings on three large open source software corpora reveals that library vectors capture semantically meaningful relationships among software libraries, such as the relationship between frameworks and their plug-ins and libraries commonly used together within ecosystems such as big data infrastructure projects (in Java), front-end and back-end web development frameworks (in JavaScript) and data science toolkits (in Python).

Cite this record

Bart Theeten, Frederik Vandeputte, Tom Van Cutsem (2019). Import2vec: Learning Embeddings for Software Libraries. IEEE/ACM International Conference on Mining Software Repositories (MSR). https://doi.org/10.1109/msr.2019.00014

Copy in another style

Theeten, B., Vandeputte, F., & Cutsem, T. V. (2019). Import2vec: Learning Embeddings for Software Libraries. IEEE/ACM International Conference on Mining Software Repositories (MSR). https://doi.org/10.1109/msr.2019.00014
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.