Skip to content

For Chowdhury, Huntsman, and Yutin: "Path homologies of motifs and temporal network representations"

Notifications You must be signed in to change notification settings

SteveHuntsman/PathHomologyDataAndScripts

Repository files navigation

PathHomologyDataAndScripts

For Chowdhury, Huntsman, and Yutin: "Path homologies of motifs and temporal network representations" at https://doi.org/10.1007/s41109-021-00441-z, see also https://arxiv.org/abs/2008.11885. We include data, scripts, and a bit of code. The data are in "DCN format," with absolute timestamps. References for data are in either paper mentioned above: we supply the data here for the sake of (relative) permanence and convenience.

The scripts are not polished, but merely intended to make the paper's results reproducible with a little bit of (versus either zero or extensive) effort. To run scripts, save the data files to an appropriate location and edit the directories in the scripts. For apnsMLPrepresentations.m, run interactively one code cell at a time for the appropriate data set, editing any filenames/locations as needed.

Data:

  • sx-mathoverflow-a2q.txt
  • email-Eu-core-temporal.txt
  • out.facebook-wosn-wall.txt

Scripts: all M-files except for temporaldigraph.m (for which see below). Scripts ending in "1" are for the aggregated representations; the script apnsMLPrepresentations.m is for the MLP/layered representation; and the scripts ending in "TD" are for the temporal digraph representations. For path homology MATLAB code called by these scripts, see https://github.com/SteveHuntsmanBAESystems/PerformantPathHomology

Code:

  • localClustCoeff.m computes the local clustering coefficent of a digraph as in https://doi.org/10.1103/PhysRevE.76.026107
  • temporaldigraph.m produces a temporal digraph from a DCN. Lower-level/faster approaches are possible, but this exploits MATLAB's digraph functions.

About

For Chowdhury, Huntsman, and Yutin: "Path homologies of motifs and temporal network representations"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages