Giter Site home page Giter Site logo

percolation's Introduction

Hello

๐Ÿ”ญ Right now I'm working on ...

  • my phd thesis and accompanying code

๐Ÿ”œ In the pipeline ...

  • generative AI in physics undergraduate degrees

๐Ÿ”ฅ On the back burner ...

  • pyrex: Python tools for reproducible experiments
  • biodiversity metric: some quantitative analysis of the UK biodiversity metric, which I do not like

๐Ÿ‘€ In future I'm looking to collaborate on ...

  • Statistical models for nature restoration and rewilding
  • Generative AI in education
  • Effective field theories for neural networks

percolation's People

Contributors

krzysztof9nowak avatar marshrossney avatar

Watchers

 avatar

Forkers

krzysztof9nowak

percolation's Issues

Model is an awkward superposition of node-based and link-based operations

Since the model started life as a simple model of a pandemic, it made sense at the time to write everything in terms of the nodes, which played the part of 'units of population'. For example, each node has a 'neighbour list' which contains indices corresponding to other nodes from which the virus may be transmitted, and the initial 'nucleus' of infection is defined by L^2 nodes forming a square on the lattice.

With a percolation model based on a network, it makes infinitely more sense to write everything in terms of the links. The underlying object becomes an adjacency matrix representing the weights of the connections between nodes. This is way more flexible. For example, anisotropic models become asymmetric adjacency matrices.

Since #1 the model kind of mixes these two ways of operating and it's kind of confusing. It probably needs a modest but ground-up reformulation that explicitly uses the adjacency matrix everywhere, renames some things and updates the docstrings.

Some things to think about:

  • Currently, we use a boolean mask to remove the inert nodes from the transmission step. We should instead represent inert nodes by columns of zeros in the adjacency matrix.
  • Links can be time-dependent. So e.g. we need not have a hard boundary between infected/transmitting and recovered.

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.