Coder Social home page Coder Social logo

gina's Introduction

GINA

Unsupervised relational inference using masked reconstruction

License: GPL v3 Open In Colab

Copyright: 2023, Gerrit Großmann, Group of Modeling and Simulation at Saarland University

Official implementation of Unsupervised relational inference using masked reconstruction

Version: 0.1 (Please note that this is proof-of-concept code.)

Overview

Gina takes observations of interacting systems and infers/reconstructs the (latent) underlying interaction graph (contact network).

alt text

Here, we see the successful reconstruction of a 7x7 grid graph.

alt text

Method

GINA considers each snapshot (observation of all components) individually and tries to predict the observable state of each node, given the measurements of each adjacent node. GINA optimizes the interaction graph in order to maximize the accuracy of this prediction.

alt text

Usage

Possibility I: With Standard Python

Install Python3, Pip3, and Jupyter notebook. Install Python-dependencies with:

pip install -r requirements.txt

Start Jupyter notebook

jupyter notebook

and select the GINA.ipynb file.

Possibility II: With Colab

You can upload the GINA.ipynb file to Google Colab or click on the open in colab badge at the top.

Possibility III: Within a Conda Environment

To use GINA in a Conda environment: Fist, install Miniconda. Then,

conda create -n ginaenv python=3.6
conda install -n ginaenv pip
conda activate ginaenv
conda install nb_conda
pip install -r requirements.txt
jupyter lab

and open the GINA.ipynb file.

Possibility IV: Use Docker

You can use the GINA docker image.

docker pull gerritgr/gina:2022-07-17--13-11

Run with:

docker run -p 8888:8888 gerritgr/gina:2022-07-17--13-11

and open the GINA.ipynb file in Jupyter lab.

gina's People

Contributors

gerritgr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

techthiyanes

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.