Loading...

Topic recommendation for software repositories using multi-label classification algorithms

Izadi, M ; Sharif University of Technology | 2021

205 Viewed
  1. Type of Document: Article
  2. DOI: 10.1007/s10664-021-09976-2
  3. Publisher: Springer , 2021
  4. Abstract:
  5. Many platforms exploit collaborative tagging to provide their users with faster and more accurate results while searching or navigating. Tags can communicate different concepts such as the main features, technologies, functionality, and the goal of a software repository. Recently, GitHub has enabled users to annotate repositories with topic tags. It has also provided a set of featured topics, and their possible aliases, carefully curated with the help of the community. This creates the opportunity to use this initial seed of topics to automatically annotate all remaining repositories, by training models that recommend high-quality topic tags to developers. In this work, we study the application of multi-label classification techniques to predict software repositories’ topics. First, we map the large-space of user-defined topics to those featured by GitHub. The core idea is to derive more information from projects’ available documentation. Our data contains about 152K GitHub repositories and 228 featured topics. Then, we apply supervised models on repositories’ textual information such as descriptions, README files, wiki pages, and file names. We assess the performance of our approach both quantitatively and qualitatively. Our proposed model achieves Recall@5 and LRAP scores of 0.890 and 0.805, respectively. Moreover, based on users’ assessment, our approach is highly capable of recommending correct and complete set of topics. Finally, we use our models to develop an online tool named Repository Catalogue, that automatically predicts topics for GitHub repositories and is publicly available1. © 2021, The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature
  6. Keywords:
  7. Application programs ; Collaborative tagging ; High quality ; Multi label classification ; On-line tools ; Software repositories ; Textual information ; Topic recommendations ; Training model ; Classification (of information)
  8. Source: Empirical Software Engineering ; Volume 26, Issue 5 , 2021 ; 13823256 (ISSN)
  9. URL: https://link.springer.com/article/10.1007/s10664-021-09976-2