Giter VIP home page Giter VIP logo

higher-order-ng's Introduction

Group interactions modulate critical mass dynamics in social convention

This repository contains the code required to reproduce the results presented in the following paper:

Data

This study relies on publicly available datasets that have been collected and released in previous publications:

Original and processed data are both stored in the Data folder.

Code

Most of the scripts are Jupyter notebooks contained in the Notebooks folder:

  • 0_Integrating MF equations for 2-words HONG.ipynb defines mean field equations and integrates them numerically
  • 1_Simulations - Homogeneous Mixing 2-HGs.ipynb simulates the NG on homogeneous 2-hypergraphs for comparison with the analytics
  • 2_ Comparing MF with stochastic simulations.ipynb compares the esults from the previous two notebooks (MF vs analytical)
  • 3_Preprocessing Email-EU and Congress-bills data sets.ipynb processing the two biggest data sets on emails communication and US congress bills
  • 4_Preprocessing Sociopatterns data sets.ipynb processing the face-to-face interactions from the sociopatterns collaboration
  • 5_Example of a simulation on a hypergraph.ipynb simulates one game on a given higher-order structure
  • 6_Aggregating simulations results (run externally) on empirical data sets.ipynb performs an aggregation of the simulation results on empirical data sets (these are run separately through the authomatically created scripts contained in the Scripts folder)
  • 7_Simulations - Homogeneous Mixing HGs with groups of different sizes.ipynb simulates the NG on homogeneous k-hypergraphs of increasing size (these are run separately through the bash script contained in the notebook)
  • 8_Figures.ipynb plots most of the figures

Results are put in a Results folder.

higher-order-ng's People

Contributors

iaciac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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