SlideShare a Scribd company logo
1 of 46
Download to read offline
Agent-Based Modeling
& Python
By Jackie Kazil
DC, Oct. 8, 2016
1
2
PSF
PyLadies
WDSDC
Data Community DC
PIFF
Byte Back
3
PyData 2016 DC host and sponsor
4
Class of 2019?
5
Overview
1. What Agent-based modeling (& Complexity)
2. Background in Agent-based modeling tools
3. Modeling in Python using Mesa
4. Future of Mesa
6
7
8
AGENT-BASED MODELS!
An Overview of Applications
9
AGENT-BASED MODELS!
ABMs
MAS
Game theory
Cellular automata
Microsimulation
Individual-based models
Complex Simulations
10
What is agent-based modeling?
Computer simulation
Consisting of agents
... interacting with one another
... in order to study an overall system
11
Components of a model
Space
Agents
Time
Visualization (not required)
Conway’s Game of Life
Source:
Wikipedia user LucasVB,
https://commons.wikimedia.or
g/wiki/File:Gospers_glider_gun
.gif
12
Schelling Segregation Model
Source:
Case, “Parable of the Polygons”
http://ncase.me/polygons/
Source:
Schelling, 1971. “Dynamic
Models of Segregation.”
Journal of Mathematical
Sociology.
13
14
Why ABMs?
Flows: evacuation, traffic, and customer flow
management.
Markets: stock market, shopbots and software agents,
and strategic simulation.
Organizations: operational risk and organizational design.
Diffusion: diffusion of innovation and adoption dynamics.
15
Why ABMs?
ABMs capture the path as well as the solution, so one can
analyze the system’s dynamic history.
Most social processes involve spatial or network attributes,
which ABMs can incorporate explicitly.
When a model (A) produces a result (R), one has established
a sufficiency theorem, meaning R if A.
16
Why ABMs?
Individual behavior is nonlinear; characterized by
thresholds, if-then rules, or nonlinear coupling
Individual behavior exhibits memory, path-dependence, or
temporal correlations, including learning and adaptation
Agent interactions are heterogeneous; can generate
network effects --> lead to deviations from predicted
aggregate behavior
Predator-Prey Dynamics
Source:
Wilensky, U.
(1997). NetLogo
Wolf Sheep
Predation model.
http://ccl.northwe
stern.edu/netlogo
/models/WolfShee
pPredation.
Center for
Connected
Learning and
Computer-Based
Modeling,
Northwestern
University,
Evanston, IL.
17
Political Dynamics
Source:
Cederman et al.
“GeoSim
Framework.”
http://www.icr.eth
z.ch/research/geo
sim
18
Migration Modeling
Source:
Gulden et al.
2011, “Modeling
Cities and
Displacement
through an
Agent-Based
Spatial Interaction
Model,”
Computational
Social Science
Society of America
Conference
19
Epidemiological Simulation
Source:
Los Alamos
National
Laboratory,
OPPIE
epidemiologica
l model.
http://www.lan
l.gov/projects/
mathematical-
computational-
epidemiology/
agent-based-m
odeling.php
20
22
Open Source
ABM Library Ecosystem
MIMOSE (Micro-und Multilevel
Modelling Software) [53]
GAMA [28]
ABLE (Agent Building and
Learning Environment) [2]
Jason (Jason:Interpreter for
extension of AgentSpeak) [40]
MAS-SOC (Multi-Agent Simulations
for the SOCial Sciences) [51]
Brahms [11]
ECHO [22]
FLAME [25]
FLAME GPU [26]
Construct [13]
MOOSE(Multimodeling
Object-Oriented Simulation
Environment) [55]
Jade’s sim++
SimBioSys [68]
SimPack [69]
DeX [20]
LSD (Laboratory for
Simulation Development)[45]
iGen [31]
FLUXY [27]
MASS (Multi-Agent Simulation Suit)
[50]
Framsticks
SimPlusPlus [66]
MASS (Multi-Agent Simulation Suit) [50]
Framsticks
SimPlusPlus [66]
Descartes[19]
A3 / AAA (Agent Anytime Anywhere)
[1]
ADK (TryllianAgent Development
Kit)[4]
AOR Simulation[6]
Ascape [8]
BDI4Jade [9]
Cougaar[15]
CybelePro[17]
FAMOJA(Framework for Agent-based
MOdelling with JAva) [24]
ICARO-T [32]
JABM [34]
JADE
JAS-mine [38]
JASA (Java Auction Simulator API)
[39]
jES (Java Enterprise Simulator) [42]
jEcho [43]
MASON [49]
Moduleco [54]
netLogo
JIAC [64]
Sugarscape [71]
VSEit [74]
NetLogo
Spatial Modeling Environment(SME) [70]
JAMEL (Java Agent-based MacroEconomic Laboratory)
[35]
PS-I (Political Science-Identity)[60]
Altreva Adaptive Modeler [3]
oRIS [59]
SimAgent (alsosim agent) [67]
DigiHive
Mesa [52]
DALI[18]
Breve
SeSAm (Shell for Simulated Agent Systems) (fully
integrated graphical simulation environment) [63]
Cormas(Common-pool Resources and Multi-Agent
Systems) [14]
SDML (Strictly Declarative Modeling
Language) [61]
Soar
StarLogo
OpenStarLogo
StarLogo TNG
StarLogoT
SEAS (System Effectiveness Analysis
Simulation) [62]
GPU Agents [29]
GROWlab [30]
AgentSheets
VisualBots [73]
ZEUS [76]
MIMOSE (Micro-und Multilevel
Modelling Software) [53]
GAMA [28]
ABLE (Agent Building and
Learning Environment) [2]
Jason (Jason:Interpreter for
extension of AgentSpeak) [40]
MAS-SOC (Multi-Agent Simulations
for the SOCial Sciences) [51]
Brahms [11]
ECHO [22]
FLAME [25]
FLAME GPU [26]
Construct [13]
MOOSE(Multimodeling
Object-Oriented Simulation
Environment) [55]
Jade’s sim++
SimBioSys [68]
SimPack [69]
DeX [20]
LSD (Laboratory for
Simulation Development)[45]
iGen [31]
FLUXY [27]
MASS (Multi-Agent Simulation Suit)
[50]
Framsticks
SimPlusPlus [66]
MASS (Multi-Agent Simulation Suit) [50]
Framsticks
SimPlusPlus [66]
Descartes[19]
A3 / AAA (Agent Anytime Anywhere)
[1]
ADK (TryllianAgent Development
Kit)[4]
AOR Simulation[6]
Ascape [8]
BDI4Jade [9]
Cougaar[15]
CybelePro[17]
FAMOJA(Framework for Agent-based
MOdelling with JAva) [24]
ICARO-T [32]
JABM [34]
JADE
JAS-mine [38]
JASA (Java Auction Simulator API)
[39]
jES (Java Enterprise Simulator) [42]
jEcho [43]
MASON [49]
Moduleco [54]
netLogo
JIAC [64]
Sugarscape [71]
VSEit [74]
NetLogo
Spatial Modeling Environment(SME) [70]
JAMEL (Java Agent-based MacroEconomic Laboratory)
[35]
PS-I (Political Science-Identity)[60]
Altreva Adaptive Modeler [3]
oRIS [59]
SimAgent (alsosim agent) [67]
DigiHive
Mesa [52]
DALI[18]
Breve
SeSAm (Shell for Simulated Agent Systems) (fully
integrated graphical simulation environment) [63]
Cormas(Common-pool Resources and Multi-Agent
Systems) [14]
SDML (Strictly Declarative Modeling
Language) [61]
Soar
StarLogo
OpenStarLogo
StarLogo TNG
StarLogoT
SEAS (System Effectiveness Analysis
Simulation) [62]
GPU Agents [29]
GROWlab [30]
AgentSheets
VisualBots [73]
ZEUS [76]
http://bit.ly/wiki-abms
Free w/ strings attached 27
GPL 16
LGPL 14
Custom licenses 10
Generic ‘Open Source’ 7
Academic free license 4
Apache 2.0 4
‘Unknown’ 4
BSD 3
ABM licenses
26
Most models are from...
netLogo (Logo) - bit.ly/abm-netlogo (~60%)
MASON (Java) - bit.ly/abm-mason
RePast (Java) -bit.ly/abm-repast
27
Name 2.7 3+ Active
Dates
PyPI Description
Simx Y N 11/12-
12/14
Y Framework for discrete simulations,
optimized for parallel computing; no
built in visualization
PyCX Y Y 06/11-
03/16
N Repository of ABM examples & GUI
script for desktop visualization;
Focused on ease of writing; Mostly pure
python; not a framework
PyABM Y N 09/12-
03/14
Y Partial ABM framework, not working
Indra N Y 12/14-
Today
N ABM framework to write models similar
to Netlogo; lacks documentation;
visualization ability in the future?
Mesa N Y 09/14-
Today
Y ABM framework to build models with
repeatable components; uses browser
for visualization
Modeling in browser
Parable of the Polygons
(Javascript & HTML) -
ncase.me/polygons
Agent Base (Javascript) -
bit.ly/abm-ants
Agent Script (CoffeeScript) -
agentscript.org
Mesa (Python) - bit.ly/abm-mesa
28
29
Mesa, ABMs in Python
30
Demos of Models
Docs:
bit.ly/abm-mesa
Code:
github.com/projectmesa/mesa
31
Demos of Schelling
README Standard
$ pip install -r requirements.txt
model.py - agents & model
Using model.py in jupyter
Creating browser front-end
Launching browser front-end:
$ python run.py
Open browser: 127.0.0.1:8888
Complex
model
32
Simple
model
Mesa’s Scheduling Feature
Notebook example & source: Prisoner’s dilemma
● Sequential activation, where agents are
activated in the order they were added to the
model
● Random activation, where they are activated in
random order every step
● Simultaneous activation, simulating them all
being activated simultaneously.
33
Mesa’s Scheduling Feature
Notebook example & source: Prisoner’s dilemma
34
Sequential
Random
Simultaneous
Mesa
35
Models built using Mesa
Mesa
37
Models built using Mesa
Mesa
38
Networks
Geo-Mesa
Mesa
39
Networks
Mesa
40
Econ-Mesa
Mesa
41
Bio-Mesa
Mesa
42
Other school
of thought
43
Mesa Growth / Usage
Started in 2014 with 2 people. Now 26!
21 were from Sprints!
Most were not ABM experts.
Students have used it. Gov has shown interest.
ToDo list: Networks (in progress), GIS,
Parallelization of models, Front-end, Increase
usability, fix all things
44
Getting Started &
Contributing
Docs & tutorial: bit.ly/abm-mesa
Look at Examples in repo
Help with ticket #223
Translate a model from NetLogo
45
Things to read
Cioffi-Revilla, C. (2013). Introduction to computational social science.
Epstein, J. M., & Axtell, R. (1996). Growing artificial societies: social
science from the bottom up.
Gilbert, N., & Troitzsch, K. (2005). Simulation for the social scientist.
McGraw-Hill Education (UK).
Kupers, R., & Colander, D. (2014). Complexity & the Art of Public Policy.
Miller, J. H., & Page, S. E. (2009). Complex adaptive systems.
Simon, H. A. (1996). The sciences of the artificial.
46
The End.
Questions?
@jackiekazil
github.com/projectmesa/mesa

More Related Content

What's hot

Mindsphere: an open cloud-based IoT operating system for Industry
Mindsphere: an open cloud-based IoT operating system for IndustryMindsphere: an open cloud-based IoT operating system for Industry
Mindsphere: an open cloud-based IoT operating system for IndustryIIoTWorld
 
Essential Capabilities of an IoT Platform
Essential Capabilities of an IoT PlatformEssential Capabilities of an IoT Platform
Essential Capabilities of an IoT PlatformAmazon Web Services
 
Data retrieval in sensor networks
Data retrieval in sensor networksData retrieval in sensor networks
Data retrieval in sensor networksAcad
 
Predictive Maintenance Systems, Technologies & Equipment Management Softwares...
Predictive Maintenance Systems, Technologies & Equipment Management Softwares...Predictive Maintenance Systems, Technologies & Equipment Management Softwares...
Predictive Maintenance Systems, Technologies & Equipment Management Softwares...proudmehta
 
Pollution control using Internet Of Things
Pollution control using Internet Of ThingsPollution control using Internet Of Things
Pollution control using Internet Of Thingsmunindhar macherla
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applicationsadil raja
 
컨버전스 IT 조직전략 (예시)
컨버전스 IT 조직전략 (예시)컨버전스 IT 조직전략 (예시)
컨버전스 IT 조직전략 (예시)John UE
 
Lean Product Management User-Centered App Design
Lean Product Management User-Centered App DesignLean Product Management User-Centered App Design
Lean Product Management User-Centered App DesignVMware Tanzu
 
Drone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in Logistics
Drone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in LogisticsDrone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in Logistics
Drone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in LogisticsFlytBase
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSOMohamed Talaat
 
Smart manufacturing and a iot
Smart manufacturing and a iotSmart manufacturing and a iot
Smart manufacturing and a iotDaniel Li
 
Data Science and Machine Learning in Smart manufacturing
Data Science and Machine Learning in Smart manufacturingData Science and Machine Learning in Smart manufacturing
Data Science and Machine Learning in Smart manufacturingFrank Fang Kuo Yu
 
Clustering in wireless sensor networks with compressive sensing
Clustering in wireless sensor networks with compressive sensingClustering in wireless sensor networks with compressive sensing
Clustering in wireless sensor networks with compressive sensingshivani Shivanichou1
 
Towards Digital Twin standards following an open source approach
Towards Digital Twin standards following an open source approachTowards Digital Twin standards following an open source approach
Towards Digital Twin standards following an open source approachFIWARE
 

What's hot (20)

Mindsphere: an open cloud-based IoT operating system for Industry
Mindsphere: an open cloud-based IoT operating system for IndustryMindsphere: an open cloud-based IoT operating system for Industry
Mindsphere: an open cloud-based IoT operating system for Industry
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Essential Capabilities of an IoT Platform
Essential Capabilities of an IoT PlatformEssential Capabilities of an IoT Platform
Essential Capabilities of an IoT Platform
 
Data retrieval in sensor networks
Data retrieval in sensor networksData retrieval in sensor networks
Data retrieval in sensor networks
 
Predictive Maintenance Systems, Technologies & Equipment Management Softwares...
Predictive Maintenance Systems, Technologies & Equipment Management Softwares...Predictive Maintenance Systems, Technologies & Equipment Management Softwares...
Predictive Maintenance Systems, Technologies & Equipment Management Softwares...
 
Pollution control using Internet Of Things
Pollution control using Internet Of ThingsPollution control using Internet Of Things
Pollution control using Internet Of Things
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
 
컨버전스 IT 조직전략 (예시)
컨버전스 IT 조직전략 (예시)컨버전스 IT 조직전략 (예시)
컨버전스 IT 조직전략 (예시)
 
Machine-to-Machine Communications
Machine-to-Machine CommunicationsMachine-to-Machine Communications
Machine-to-Machine Communications
 
Lean Product Management User-Centered App Design
Lean Product Management User-Centered App DesignLean Product Management User-Centered App Design
Lean Product Management User-Centered App Design
 
Drone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in Logistics
Drone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in LogisticsDrone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in Logistics
Drone Automation for Warehouse 4.0 | Drones in Warehousing | Drones in Logistics
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSO
 
Smart Parking
Smart Parking Smart Parking
Smart Parking
 
205710550 الرهن
205710550 الرهن205710550 الرهن
205710550 الرهن
 
Ga ppt (1)
Ga ppt (1)Ga ppt (1)
Ga ppt (1)
 
Smart manufacturing and a iot
Smart manufacturing and a iotSmart manufacturing and a iot
Smart manufacturing and a iot
 
Data Science and Machine Learning in Smart manufacturing
Data Science and Machine Learning in Smart manufacturingData Science and Machine Learning in Smart manufacturing
Data Science and Machine Learning in Smart manufacturing
 
Clustering in wireless sensor networks with compressive sensing
Clustering in wireless sensor networks with compressive sensingClustering in wireless sensor networks with compressive sensing
Clustering in wireless sensor networks with compressive sensing
 
BSTM-MM in VISUM
BSTM-MM in VISUMBSTM-MM in VISUM
BSTM-MM in VISUM
 
Towards Digital Twin standards following an open source approach
Towards Digital Twin standards following an open source approachTowards Digital Twin standards following an open source approach
Towards Digital Twin standards following an open source approach
 

Viewers also liked

GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1crooksAndrew
 
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe VizzariAgent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe VizzariGiuseppe Vizzari
 
Using agent-based models and machine learning to enhance spatial decision sup...
Using agent-based models and machine learning to enhance spatial decision sup...Using agent-based models and machine learning to enhance spatial decision sup...
Using agent-based models and machine learning to enhance spatial decision sup...Thanh-Quang CHU
 
PyCon 2012: Python for data lovers: explore it, analyze it, map it
PyCon 2012: Python for data lovers: explore it, analyze it, map it PyCon 2012: Python for data lovers: explore it, analyze it, map it
PyCon 2012: Python for data lovers: explore it, analyze it, map it Jacqueline Kazil
 
Reactive Autonomous System Programming using the PROFETA tool
Reactive Autonomous System Programming using the PROFETA toolReactive Autonomous System Programming using the PROFETA tool
Reactive Autonomous System Programming using the PROFETA toolCorrado Santoro
 
Comparison of Agent-based platforms
Comparison of Agent-based platformsComparison of Agent-based platforms
Comparison of Agent-based platformsKishoj Bajracharya
 
Agent Based Models 2010
Agent Based Models 2010Agent Based Models 2010
Agent Based Models 2010yamanote
 
Diffusion in platform-based markets: big data driven agent-based model
Diffusion in platform-based markets: big data driven agent-based modelDiffusion in platform-based markets: big data driven agent-based model
Diffusion in platform-based markets: big data driven agent-based modelJari Jussila
 
Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...
Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...
Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...Daniel Katz
 
An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...
An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...
An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...Mark Boateng
 
Active Shooter: An Agent-Based Model (ABM) of Unarmed Resistance
Active Shooter: An Agent-Based Model (ABM) of Unarmed ResistanceActive Shooter: An Agent-Based Model (ABM) of Unarmed Resistance
Active Shooter: An Agent-Based Model (ABM) of Unarmed ResistanceTom Briggs
 
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing MixTop 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing MixThinkVine
 
Self Organization Simulation Over Gis Based On Multi Agent Platform
Self Organization Simulation Over Gis Based On Multi Agent PlatformSelf Organization Simulation Over Gis Based On Multi Agent Platform
Self Organization Simulation Over Gis Based On Multi Agent Platformanas_elf
 
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of ModelSME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of ModelIOSR Journals
 
Military Game/Simulation Scenario/Story Development @IISTEC 2014
Military Game/Simulation Scenario/Story Development  @IISTEC 2014Military Game/Simulation Scenario/Story Development  @IISTEC 2014
Military Game/Simulation Scenario/Story Development @IISTEC 2014Marie Broyles
 
Machine Learning in Modern Medicine with Erin LeDell at Stanford Med
Machine Learning in Modern Medicine with Erin LeDell at Stanford MedMachine Learning in Modern Medicine with Erin LeDell at Stanford Med
Machine Learning in Modern Medicine with Erin LeDell at Stanford MedSri Ambati
 
"A 30min Introduction to Agent-Based Modelling" for GORS
"A 30min Introduction to Agent-Based Modelling" for GORS"A 30min Introduction to Agent-Based Modelling" for GORS
"A 30min Introduction to Agent-Based Modelling" for GORSBruce Edmonds
 

Viewers also liked (20)

GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1GIS and Agent-based modeling: Part 1
GIS and Agent-based modeling: Part 1
 
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe VizzariAgent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
Agent-based modeling and simulation tutorial - EASSS 2009 - Giuseppe Vizzari
 
Using agent-based models and machine learning to enhance spatial decision sup...
Using agent-based models and machine learning to enhance spatial decision sup...Using agent-based models and machine learning to enhance spatial decision sup...
Using agent-based models and machine learning to enhance spatial decision sup...
 
PyCon 2012: Python for data lovers: explore it, analyze it, map it
PyCon 2012: Python for data lovers: explore it, analyze it, map it PyCon 2012: Python for data lovers: explore it, analyze it, map it
PyCon 2012: Python for data lovers: explore it, analyze it, map it
 
Reactive Autonomous System Programming using the PROFETA tool
Reactive Autonomous System Programming using the PROFETA toolReactive Autonomous System Programming using the PROFETA tool
Reactive Autonomous System Programming using the PROFETA tool
 
Comparison of Agent-based platforms
Comparison of Agent-based platformsComparison of Agent-based platforms
Comparison of Agent-based platforms
 
Agent based modelling
Agent based modellingAgent based modelling
Agent based modelling
 
Agent Based Models 2010
Agent Based Models 2010Agent Based Models 2010
Agent Based Models 2010
 
Diffusion in platform-based markets: big data driven agent-based model
Diffusion in platform-based markets: big data driven agent-based modelDiffusion in platform-based markets: big data driven agent-based model
Diffusion in platform-based markets: big data driven agent-based model
 
Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...
Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...
Thomas Schelling Segregation Model - An Exercise in Mapping the Dependencies ...
 
An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...
An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...
An Agent-Based Approach to Evaluating the Effect of Dynamic Age Changes on Co...
 
Active Shooter: An Agent-Based Model (ABM) of Unarmed Resistance
Active Shooter: An Agent-Based Model (ABM) of Unarmed ResistanceActive Shooter: An Agent-Based Model (ABM) of Unarmed Resistance
Active Shooter: An Agent-Based Model (ABM) of Unarmed Resistance
 
Electricidad
ElectricidadElectricidad
Electricidad
 
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing MixTop 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
Top 20 Reasons Why Agent-based Modeling is Disrupting Marketing Mix
 
Self Organization Simulation Over Gis Based On Multi Agent Platform
Self Organization Simulation Over Gis Based On Multi Agent PlatformSelf Organization Simulation Over Gis Based On Multi Agent Platform
Self Organization Simulation Over Gis Based On Multi Agent Platform
 
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of ModelSME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
SME Manufacturing Credit Risk Model Forecast Correctness and Result of Model
 
Phd Defense
Phd DefensePhd Defense
Phd Defense
 
Military Game/Simulation Scenario/Story Development @IISTEC 2014
Military Game/Simulation Scenario/Story Development  @IISTEC 2014Military Game/Simulation Scenario/Story Development  @IISTEC 2014
Military Game/Simulation Scenario/Story Development @IISTEC 2014
 
Machine Learning in Modern Medicine with Erin LeDell at Stanford Med
Machine Learning in Modern Medicine with Erin LeDell at Stanford MedMachine Learning in Modern Medicine with Erin LeDell at Stanford Med
Machine Learning in Modern Medicine with Erin LeDell at Stanford Med
 
"A 30min Introduction to Agent-Based Modelling" for GORS
"A 30min Introduction to Agent-Based Modelling" for GORS"A 30min Introduction to Agent-Based Modelling" for GORS
"A 30min Introduction to Agent-Based Modelling" for GORS
 

Similar to Agent-Based Modeling & Python @ PyData DC 2016

ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...
ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...
ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...tamasmahr
 
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...Benoit Combemale
 
Forensic Memory Analysis of Android's Dalvik Virtual Machine
Forensic Memory Analysis of Android's Dalvik Virtual MachineForensic Memory Analysis of Android's Dalvik Virtual Machine
Forensic Memory Analysis of Android's Dalvik Virtual MachineSource Conference
 
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...MLconf
 
GDG-MLOps using Protobuf in Unity
GDG-MLOps using Protobuf in UnityGDG-MLOps using Protobuf in Unity
GDG-MLOps using Protobuf in UnityIvan Chiou
 
Modeling and Simulation of Parallel and Distributed Computing Systems with Si...
Modeling and Simulation of Parallel and Distributed Computing Systems with Si...Modeling and Simulation of Parallel and Distributed Computing Systems with Si...
Modeling and Simulation of Parallel and Distributed Computing Systems with Si...Rafael Ferreira da Silva
 
Recommendations for Building Machine Learning Software
Recommendations for Building Machine Learning SoftwareRecommendations for Building Machine Learning Software
Recommendations for Building Machine Learning SoftwareJustin Basilico
 
Lessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at NetflixLessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at NetflixJustin Basilico
 
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome Massimiliano Dessì
 
[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...
[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...
[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...Christopher Cerqueira
 
Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....
Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....
Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....Reza Nourjou, Ph.D.
 
Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...
Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...
Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...Roberto Casadei
 
MLFlow: Platform for Complete Machine Learning Lifecycle
MLFlow: Platform for Complete Machine Learning Lifecycle MLFlow: Platform for Complete Machine Learning Lifecycle
MLFlow: Platform for Complete Machine Learning Lifecycle Databricks
 
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013DuckMa
 
Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...
Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...
Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...Matt Raible
 
Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...
Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...
Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...Michael Gschwind
 
Synergy of Human and Artificial Intelligence in Software Engineering
Synergy of Human and Artificial Intelligence in Software EngineeringSynergy of Human and Artificial Intelligence in Software Engineering
Synergy of Human and Artificial Intelligence in Software EngineeringTao Xie
 

Similar to Agent-Based Modeling & Python @ PyData DC 2016 (20)

User-centered open source
User-centered open sourceUser-centered open source
User-centered open source
 
ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...
ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...
ECAI 2014 Tutorial on a behavioral analysis tool for agent-based simulations ...
 
thesis
thesisthesis
thesis
 
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
On Modeling and Testing When Unpredictability Becomes the Pattern (April 2nd,...
 
Forensic Memory Analysis of Android's Dalvik Virtual Machine
Forensic Memory Analysis of Android's Dalvik Virtual MachineForensic Memory Analysis of Android's Dalvik Virtual Machine
Forensic Memory Analysis of Android's Dalvik Virtual Machine
 
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
 
GDG-MLOps using Protobuf in Unity
GDG-MLOps using Protobuf in UnityGDG-MLOps using Protobuf in Unity
GDG-MLOps using Protobuf in Unity
 
Modeling and Simulation of Parallel and Distributed Computing Systems with Si...
Modeling and Simulation of Parallel and Distributed Computing Systems with Si...Modeling and Simulation of Parallel and Distributed Computing Systems with Si...
Modeling and Simulation of Parallel and Distributed Computing Systems with Si...
 
Recommendations for Building Machine Learning Software
Recommendations for Building Machine Learning SoftwareRecommendations for Building Machine Learning Software
Recommendations for Building Machine Learning Software
 
Simulation
SimulationSimulation
Simulation
 
Lessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at NetflixLessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at Netflix
 
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
 
[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...
[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...
[Thesis] Tangible Collaboration applied in Space Systems Concurrent Engineeri...
 
Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....
Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....
Simulation of an Organization of Spatial Intelligent Agents in the Visual C#....
 
Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...
Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...
Towards Automated Engineering for Collective Adaptive Systems: Vision and Res...
 
MLFlow: Platform for Complete Machine Learning Lifecycle
MLFlow: Platform for Complete Machine Learning Lifecycle MLFlow: Platform for Complete Machine Learning Lifecycle
MLFlow: Platform for Complete Machine Learning Lifecycle
 
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
Matteo Gazzurelli - Andorid introduction - Google Dev Fest 2013
 
Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...
Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...
Microservices for the Masses with Spring Boot, JHipster, and OAuth - South We...
 
Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...
Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...
Gschwind - AI Everywhere: democratize AI with an open platform and end-to -en...
 
Synergy of Human and Artificial Intelligence in Software Engineering
Synergy of Human and Artificial Intelligence in Software EngineeringSynergy of Human and Artificial Intelligence in Software Engineering
Synergy of Human and Artificial Intelligence in Software Engineering
 

Recently uploaded

Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Milind Agarwal
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our WorldEduminds Learning
 
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesConf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesTimothy Spann
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfblazblazml
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Boston Institute of Analytics
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024Susanna-Assunta Sansone
 
Cyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataCyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataTecnoIncentive
 
Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Seán Kennedy
 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxHimangsuNath
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max PrincetonTimothy Spann
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...Dr Arash Najmaei ( Phd., MBA, BSc)
 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Thomas Poetter
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Boston Institute of Analytics
 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfSubhamKumar3239
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxMike Bennett
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBoston Institute of Analytics
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Seán Kennedy
 

Recently uploaded (20)

Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our World
 
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesConf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
 
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
FAIR, FAIRsharing, FAIR Cookbook and ELIXIR - Sansone SA - Boston 2024
 
Cyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataCyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded data
 
Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...
 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptx
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max Princeton
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdf
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptx
 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
 

Agent-Based Modeling & Python @ PyData DC 2016

  • 1. Agent-Based Modeling & Python By Jackie Kazil DC, Oct. 8, 2016 1
  • 3. 3 PyData 2016 DC host and sponsor
  • 5. 5 Overview 1. What Agent-based modeling (& Complexity) 2. Background in Agent-based modeling tools 3. Modeling in Python using Mesa 4. Future of Mesa
  • 6. 6
  • 7. 7
  • 9. 9 AGENT-BASED MODELS! ABMs MAS Game theory Cellular automata Microsimulation Individual-based models Complex Simulations
  • 10. 10 What is agent-based modeling? Computer simulation Consisting of agents ... interacting with one another ... in order to study an overall system
  • 11. 11 Components of a model Space Agents Time Visualization (not required)
  • 12. Conway’s Game of Life Source: Wikipedia user LucasVB, https://commons.wikimedia.or g/wiki/File:Gospers_glider_gun .gif 12
  • 13. Schelling Segregation Model Source: Case, “Parable of the Polygons” http://ncase.me/polygons/ Source: Schelling, 1971. “Dynamic Models of Segregation.” Journal of Mathematical Sociology. 13
  • 14. 14 Why ABMs? Flows: evacuation, traffic, and customer flow management. Markets: stock market, shopbots and software agents, and strategic simulation. Organizations: operational risk and organizational design. Diffusion: diffusion of innovation and adoption dynamics.
  • 15. 15 Why ABMs? ABMs capture the path as well as the solution, so one can analyze the system’s dynamic history. Most social processes involve spatial or network attributes, which ABMs can incorporate explicitly. When a model (A) produces a result (R), one has established a sufficiency theorem, meaning R if A.
  • 16. 16 Why ABMs? Individual behavior is nonlinear; characterized by thresholds, if-then rules, or nonlinear coupling Individual behavior exhibits memory, path-dependence, or temporal correlations, including learning and adaptation Agent interactions are heterogeneous; can generate network effects --> lead to deviations from predicted aggregate behavior
  • 17. Predator-Prey Dynamics Source: Wilensky, U. (1997). NetLogo Wolf Sheep Predation model. http://ccl.northwe stern.edu/netlogo /models/WolfShee pPredation. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. 17
  • 18. Political Dynamics Source: Cederman et al. “GeoSim Framework.” http://www.icr.eth z.ch/research/geo sim 18
  • 19. Migration Modeling Source: Gulden et al. 2011, “Modeling Cities and Displacement through an Agent-Based Spatial Interaction Model,” Computational Social Science Society of America Conference 19
  • 20. Epidemiological Simulation Source: Los Alamos National Laboratory, OPPIE epidemiologica l model. http://www.lan l.gov/projects/ mathematical- computational- epidemiology/ agent-based-m odeling.php 20
  • 21.
  • 23. MIMOSE (Micro-und Multilevel Modelling Software) [53] GAMA [28] ABLE (Agent Building and Learning Environment) [2] Jason (Jason:Interpreter for extension of AgentSpeak) [40] MAS-SOC (Multi-Agent Simulations for the SOCial Sciences) [51] Brahms [11] ECHO [22] FLAME [25] FLAME GPU [26] Construct [13] MOOSE(Multimodeling Object-Oriented Simulation Environment) [55] Jade’s sim++ SimBioSys [68] SimPack [69] DeX [20] LSD (Laboratory for Simulation Development)[45] iGen [31] FLUXY [27] MASS (Multi-Agent Simulation Suit) [50] Framsticks SimPlusPlus [66] MASS (Multi-Agent Simulation Suit) [50] Framsticks SimPlusPlus [66] Descartes[19] A3 / AAA (Agent Anytime Anywhere) [1] ADK (TryllianAgent Development Kit)[4] AOR Simulation[6] Ascape [8] BDI4Jade [9] Cougaar[15] CybelePro[17] FAMOJA(Framework for Agent-based MOdelling with JAva) [24] ICARO-T [32] JABM [34] JADE JAS-mine [38] JASA (Java Auction Simulator API) [39] jES (Java Enterprise Simulator) [42] jEcho [43] MASON [49] Moduleco [54] netLogo JIAC [64] Sugarscape [71] VSEit [74] NetLogo Spatial Modeling Environment(SME) [70] JAMEL (Java Agent-based MacroEconomic Laboratory) [35] PS-I (Political Science-Identity)[60] Altreva Adaptive Modeler [3] oRIS [59] SimAgent (alsosim agent) [67] DigiHive Mesa [52] DALI[18] Breve SeSAm (Shell for Simulated Agent Systems) (fully integrated graphical simulation environment) [63] Cormas(Common-pool Resources and Multi-Agent Systems) [14] SDML (Strictly Declarative Modeling Language) [61] Soar StarLogo OpenStarLogo StarLogo TNG StarLogoT SEAS (System Effectiveness Analysis Simulation) [62] GPU Agents [29] GROWlab [30] AgentSheets VisualBots [73] ZEUS [76]
  • 24. MIMOSE (Micro-und Multilevel Modelling Software) [53] GAMA [28] ABLE (Agent Building and Learning Environment) [2] Jason (Jason:Interpreter for extension of AgentSpeak) [40] MAS-SOC (Multi-Agent Simulations for the SOCial Sciences) [51] Brahms [11] ECHO [22] FLAME [25] FLAME GPU [26] Construct [13] MOOSE(Multimodeling Object-Oriented Simulation Environment) [55] Jade’s sim++ SimBioSys [68] SimPack [69] DeX [20] LSD (Laboratory for Simulation Development)[45] iGen [31] FLUXY [27] MASS (Multi-Agent Simulation Suit) [50] Framsticks SimPlusPlus [66] MASS (Multi-Agent Simulation Suit) [50] Framsticks SimPlusPlus [66] Descartes[19] A3 / AAA (Agent Anytime Anywhere) [1] ADK (TryllianAgent Development Kit)[4] AOR Simulation[6] Ascape [8] BDI4Jade [9] Cougaar[15] CybelePro[17] FAMOJA(Framework for Agent-based MOdelling with JAva) [24] ICARO-T [32] JABM [34] JADE JAS-mine [38] JASA (Java Auction Simulator API) [39] jES (Java Enterprise Simulator) [42] jEcho [43] MASON [49] Moduleco [54] netLogo JIAC [64] Sugarscape [71] VSEit [74] NetLogo Spatial Modeling Environment(SME) [70] JAMEL (Java Agent-based MacroEconomic Laboratory) [35] PS-I (Political Science-Identity)[60] Altreva Adaptive Modeler [3] oRIS [59] SimAgent (alsosim agent) [67] DigiHive Mesa [52] DALI[18] Breve SeSAm (Shell for Simulated Agent Systems) (fully integrated graphical simulation environment) [63] Cormas(Common-pool Resources and Multi-Agent Systems) [14] SDML (Strictly Declarative Modeling Language) [61] Soar StarLogo OpenStarLogo StarLogo TNG StarLogoT SEAS (System Effectiveness Analysis Simulation) [62] GPU Agents [29] GROWlab [30] AgentSheets VisualBots [73] ZEUS [76] http://bit.ly/wiki-abms
  • 25. Free w/ strings attached 27 GPL 16 LGPL 14 Custom licenses 10 Generic ‘Open Source’ 7 Academic free license 4 Apache 2.0 4 ‘Unknown’ 4 BSD 3 ABM licenses
  • 26. 26 Most models are from... netLogo (Logo) - bit.ly/abm-netlogo (~60%) MASON (Java) - bit.ly/abm-mason RePast (Java) -bit.ly/abm-repast
  • 27. 27 Name 2.7 3+ Active Dates PyPI Description Simx Y N 11/12- 12/14 Y Framework for discrete simulations, optimized for parallel computing; no built in visualization PyCX Y Y 06/11- 03/16 N Repository of ABM examples & GUI script for desktop visualization; Focused on ease of writing; Mostly pure python; not a framework PyABM Y N 09/12- 03/14 Y Partial ABM framework, not working Indra N Y 12/14- Today N ABM framework to write models similar to Netlogo; lacks documentation; visualization ability in the future? Mesa N Y 09/14- Today Y ABM framework to build models with repeatable components; uses browser for visualization
  • 28. Modeling in browser Parable of the Polygons (Javascript & HTML) - ncase.me/polygons Agent Base (Javascript) - bit.ly/abm-ants Agent Script (CoffeeScript) - agentscript.org Mesa (Python) - bit.ly/abm-mesa 28
  • 31. 31 Demos of Schelling README Standard $ pip install -r requirements.txt model.py - agents & model Using model.py in jupyter Creating browser front-end Launching browser front-end: $ python run.py Open browser: 127.0.0.1:8888
  • 33. Mesa’s Scheduling Feature Notebook example & source: Prisoner’s dilemma ● Sequential activation, where agents are activated in the order they were added to the model ● Random activation, where they are activated in random order every step ● Simultaneous activation, simulating them all being activated simultaneously. 33
  • 34. Mesa’s Scheduling Feature Notebook example & source: Prisoner’s dilemma 34 Sequential Random Simultaneous
  • 36.
  • 43. 43 Mesa Growth / Usage Started in 2014 with 2 people. Now 26! 21 were from Sprints! Most were not ABM experts. Students have used it. Gov has shown interest. ToDo list: Networks (in progress), GIS, Parallelization of models, Front-end, Increase usability, fix all things
  • 44. 44 Getting Started & Contributing Docs & tutorial: bit.ly/abm-mesa Look at Examples in repo Help with ticket #223 Translate a model from NetLogo
  • 45. 45 Things to read Cioffi-Revilla, C. (2013). Introduction to computational social science. Epstein, J. M., & Axtell, R. (1996). Growing artificial societies: social science from the bottom up. Gilbert, N., & Troitzsch, K. (2005). Simulation for the social scientist. McGraw-Hill Education (UK). Kupers, R., & Colander, D. (2014). Complexity & the Art of Public Policy. Miller, J. H., & Page, S. E. (2009). Complex adaptive systems. Simon, H. A. (1996). The sciences of the artificial.