Coder Social home page Coder Social logo

alisonpeard / spatial-clustering Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 37.97 MB

Python packages for spatially-corrected clustering on networks. Dissertation for Scientific Computing Special Topic Trinity 2021, MSc Mathematical Modelling and Scientific Computing, University of Oxford.

Python 1.44% Jupyter Notebook 98.16% MATLAB 0.40%
spatial-graphs

spatial-clustering's Introduction

Clustering Methods for Spatial Networks

Code for dissertation Uncovering Unbiased Meso-scale Structures in Spatial Networks as part of the MSc in Mathematical Modelling and Scientific Computing 2020, Universtity of Oxford. This repository contains Python packages for performing spatially-corrected clustering on networks and methods for plotting the results spatially.

Clustering methods include modularity optimisation by spectral methods, and spatial backbone extraction as in [2] followed by standard modularity optimisaiton and core-periphery detection. Additionally asymmetric core-periphery detection code for directed graphs is included [3]. Spatial benchmark graphs are generated using a number of different spatial null models [1].

Files

  1. dissertation_noappendix.pdf: Dissertation for MSc Mathematical Modelling and Scientific Computing (2020-2021)
  2. spatial-clustering/spatial_graphs/spatial_graphs.p: Module for spatial graph classes which are children of NetworkX's Graph and DiGraph classes. Includes class methods for instantiating spatial graph instances from various spatial null models and node partitions.
  3. spatial-clustering/notebooks/Classic Modularity Visualisations.ipynb: notebook for generating figures used in dissertation

References

  1. Spatial Correlations in Attribute Communities, Cerina et al. (2011), doi:10.1371/ journal.pone.0037507
  2. Community Detection in Customer Store Networks, Leal Cervantes (2022)
  3. Core–periphery structure in directed networks, Elliot et al. (2020), http://dx.doi.org/10.1098/rspa.2019.0783

spatial-clustering's People

Contributors

alisonpeard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.