This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
SCAN: A Structural Clustering Algorithm for Networks | |
As described in http://ualr.edu/nxyuruk/publications/kdd07.pdf | |
""" | |
from collections import deque | |
import numpy as np | |
from scipy.sparse import csr_matrix |