cgSpan: Closed Graph-Based Substructure Pattern Mining

Zevin Shaul, Sheikh Naaz
12/17/2021
cs.AI

Official code: NaazS03/cgSpan (13 stars, Jupyter Notebook, MIT, last commit 2021-12-20).

Abstract

gSpan is a popular algorithm for mining frequent subgraphs. cgSpan (closed graph-based substructure pattern mining) is a gSpan extension that only mines closed subgraphs. A subgraph g is closed in the graphs database if there is no proper frequent supergraph of g that has equivalent occurrence with g. cgSpan adds the Early Termination pruning method to the gSpan pruning methods, while leaving the original gSpan steps unchanged. cgSpan also detects and handles cases in which Early Termination should not be applied. To the best of our knowledge, cgSpan is the first publicly available implementation for closed graphs mining

View on arXivView PDF

Code Implementations(1)

NaazS03/cgSpanOfficial100%
MIT

Python implementation of closed frequent subgraph mining algorithm cgSpan. Only undirected graphs are currently supported.

135Jupyter Notebook, PythonJul 28, 20204 years agoMIT
closed-graphdata-mininggraph-algorithmsgraph-mininggspan+2 more

Similar Papers

Cite this paper

@article{shaul2021cgspan,
  title  = {cgSpan: Closed Graph-Based Substructure Pattern Mining},
  author = {Zevin Shaul and Sheikh Naaz},
  year   = {2021},
  eprint = {2112.09573},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09573}
}

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/2112.09573.svg)](https://codeofpaper.com/paper/2112.09573)

Discussion