GithubHelp home page GithubHelp logo

simba_schelling's Introduction

SIMBA_Schelling

Summary

This git repository contains code for demonstrating the SIMBA framework in the context of the Schelling model for segregation. It is applied to Richmond, VA for which there is accompanying data.

Preliminaries

The following preparatory steps are required:

Requirements

The code minimally requires Python 3.8, Pandas 1.3.5, Geopandas 0.10.2, and Requests 2.28.1. Currently, it has only been tested under Linux using the slurm job submission system.

Notes

13 Feb 2023: we are exploring ways to execute the model without the need for using slurm. Updates will be posted when ready.

Running the Simba-Schelling model

  • Define module paths and execution order in simba_schelling/data/config.json
  • Edit the configuration script to reference Schelling environment path and execution variables as defined in simba_schelling/data/config.json.
  • Edit configuration script for slurm execution parameters - account details, run times, etc.
  • Run SIMBA/Schelling through run.sh launcher script; SIMBA assumes the default path to the configuration script to be under data/config.json. In the event other configuration files are created, they can be passed as an argument during execution.

To verify the successful run of the SIMBA Schelling integration, a visualization of the segregated houshold locations can be generated through schelling/visualize_run.py.

Licenses

The code in the SIMBA_Schelling repository uses the Apache 2.0 license, see https://www.apache.org/licenses/LICENSE-2.0.html. The two data files (a and b) are made available under the CC-BY-4.0 license, see https://creativecommons.org/licenses/by/4.0/.

Citation

Stefan Hoops, Ian Le, Dustin Machi, Henning S. Mortveit, Sami Saliba, Samarth Swarup (2023). SIMBA: A Framework for Rapid and Extensible Agent-based Simulation Development. Submitted.

Further Reading

simba_schelling's People

Contributors

henningmortveit avatar smsr7 avatar

Watchers

Dustin Machi avatar Stefan Hoops 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.