HiGitClass: Keyword-Driven Hierarchical Classification of GitHub Repositories

Yu Zhang, Frank F. Xu, Sha Li, Yu Meng, Xuan Wang +2 more
10/16/2019
51 citations
cs.LGcs.CLcs.SE

Official code: yuzhimanhua/HiGitClass (58 stars, Python, Apache-2.0, last commit 2024-04-02).

Abstract

GitHub has become an important platform for code sharing and scientific exchange. With the massive number of repositories available, there is a pressing need for topic-based search.

Show full abstract

Even though the topic label functionality has been introduced, the majority of GitHub repositories do not have any labels, impeding the utility of search and topic-based analysis. This work targets the automatic repository classification problem as keyword-driven hierarchical classification. Specifically, users only need to provide a label hierarchy with keywords to supply as supervision. This setting is flexible, adaptive to the users' needs, accounts for the different granularity of topic labels and requires minimal human effort. We identify three key challenges of this problem, namely (1) the presence of multi-modal signals; (2) supervision scarcity and bias; (3) supervision format mismatch. In recognition of these challenges, we propose the HiGitClass framework, comprising of three modules: heterogeneous information network embedding; keyword enrichment; topic modeling and pseudo document generation. Experimental results on two GitHub repository collections confirm that HiGitClass is superior to existing weakly-supervised and dataless hierarchical classification methods, especially in its ability to integrate both structured and unstructured data for repository classification.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

HiGitClass: Keyword-Driven Hierarchical Classification of GitHub Repositories (ICDM'19)

582Python, C++Aug 12, 20192 years agoApache-2.0
hierarchical-classificationmetadatarepository-miningtext-classificationweakly-supervised-learning

Similar Papers

Cite this paper

@article{zhang2019higitclass,
  title  = {HiGitClass: Keyword-Driven Hierarchical Classification of GitHub Repositories},
  author = {Yu Zhang and Frank F. Xu and Sha Li and Yu Meng and Xuan Wang and Qi Li and Jiawei Han},
  year   = {2019},
  eprint = {1910.07115},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.07115}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.07115.svg)](https://codeofpaper.com/paper/1910.07115)

Discussion