Code Monkey home page Code Monkey logo

ls_geometry's Introduction

LS Geometry

The code in this repository implements the geometry classification methods from Identifying Latent Space Geometry in Network Models using Analysis of Curvature by Lubold et al (https://arxiv.org/abs/2012.10559). The list of files is below. Send questions or comments to Shane Lubold at [email protected]. The Indian Villages data used in this paper is not available publicly, so we only provide the code to reproduce the C Elegans example.

Files:

  • Bootstrap.py: Implements the bootstrapping method used to test the three geometry hypotheses (Euclidean, spherical, and hyperbolic).
  • celegans131matrix.csv: Contains the adjacency matrix of a neuron network in a C. Elegans worm. This data can be accessed here: https://www.dynamic-connectome.org/?page_id=25
  • Classification_CElegans_Repeat.py: Classifies the C Elegans neural network available in celegans131matrix.csv.
  • Compute_Rate: Implements an estimator of the rate of the sequence \tau_n that appears in Section 2 of https://projecteuclid.org/euclid.aos/1176325770. Currently, our method does not use this code. We simply use \tau_n = 1/3. However, future work could use this code to construct use better rate estimates.
  • Generate_Hyperbolic.py: Simulates positions and distances on hyperbolic space.
  • Make_D_Spherical.py: Simulates positions and distances on spherical space.
  • Make_Euclidean_D.py: Simulates positions and distances on Euclidean space.
  • Rank_Estimator.py: Estimates the rank of a matrix from a noisy estimate of the matrix. We implement the "ladle" estimator from https://academic.oup.com/biomet/article-abstract/103/4/875/2659039.
  • Supplementary_Files: Contains various pieces of code that we need, such as estimating the distance matrix from the adjacency matrix.

ls_geometry's People

Contributors

slubold 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.