thgsp.datasets

Contents

Minnesota

class Minnesota(root=None, connected=True, download=False)[source]

The Minnesota traffic network shipped with “Wavelet Filterbanks on Graph” 1 project(with a license of GPL V3) by USC-STAC group 4 . This road network is a part of “The National Highway Planning Network (NHPN) 2000-Present dataset” 3 and also carried by MatlabBGL 2 toolbox(released under BSD).

Parameters
  • root (str, optional) – The root directory to place the downloaded files. If None, set the root dir as “thgsp.datasets.data”.

  • connected (bool) – If True, connect the traffic network.

  • download (bool) – If True, download the raw .zip file and process it.

References

1

S K. Naran, et al, “Perfect Reconstruction Two-channel Wavelet Filter Banks for Graph Structured Data”, IEEE trans on Signal Processing, 2012.

2
  1. Gleich, “https://github.com/dgleich/matlab-bgl”, GitHub, 2011

3

https://www.fhwa.dot.gov/planning/processes/tools/nhpn/

4

http://biron.usc.edu/wiki/index.php/Graph_Filterbanks)

USC Toy

class Toy(root=None, download=False)[source]

USC toy graph(released under GPL v2) by STAC group(https://github.com/STAC-USC/GraphStructures).

Parameters
  • root (str, optional) – The root directory to place the downloaded files. If None, set the root dir as “thgsp.datasets.data”.

  • download (bool) – If True, download the raw .zip file and process it.