Agent Based Modeling (ABM) with Mesa and Python ( mesa | 14 hours )

Prerequisites:
  • Python programming experience
  • Javascript (optional)

Audience

  • Researchers
  • Investigators
  • Analysts
Overview:

Mesa is a Python framework for creating agent-based models (ABM). Mesa aims to provide an alternative to NetLogo, Repast, and MASON. Agent based modeling allows investigators in the fields of biology, social sciences, network, business, etc. to simulate the actions and interactions of autonomous agents in order to evaluate their effects on their environment.

This instructor-led, live training (online or onsite) is aimed at investigators who wish to use Mesa to create Agent Based Models in a Python environment.

By the end of this training, participants will be able to:

  • Install and configure the development environment needed to start modeling in Python.
  • Quickly create an agent-based model using Mesa's built-in core components.
  • Expand the complexity of the model.
  • Visualize agent activity in real-time inside a browser.
  • Analyze the results of the model interactively using Python data analysis tools.
  • Integrate the model with other Python systems such as machine learning applications.

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.
Course Outline:

Introduction

Overview of Agent Based Modeling

Case Study: Using Agents to Simulate Financial Transactions

Overview of Agent Based Modeling Frameworks for Java, C++, Python, etc.

Overview of Mesa's Core Features

Setting up the Environment

Choosing between a Text Editor or IDE and Jupyter Notebook

Creating a Simple Model

Case Study: Using Agents to Simulate a Pandemic

Choosing a Model Based on the Use Case (Boltzmann Wealth, Schelling Segregation Model, SIR, etc.)

Working with the Mesa's Model and Agent Classes

Defining the Variables

Setting Model Level Parameters

Scheduling the Actions of an Agent

Running the Model

Adding Agents to the Model

Adding Space to the Model

Collecting Data Using the Data Collector

Running the Model Multiple Using the Mesa Batch Runner

Visualizing the Simulation Interactively

Visualizing Agent Activity in a Grid

Adding a Chart to the Visualization

Creating a Visualization Module (optional - requires Javascript)

Integrating the Model with a Machine Learning Application.

Best Practices

Troubleshooting

Summary and Conclusion

Sites Published:

United Arab Emirates - Agent Based Modeling (ABM) with Mesa and Python

Qatar - Agent Based Modeling (ABM) with Mesa and Python

Egypt - Agent Based Modeling (ABM) with Mesa and Python

Saudi Arabia - Agent Based Modeling (ABM) with Mesa and Python

South Africa - Agent Based Modeling (ABM) with Mesa and Python

Brasil - Agent Based Modeling (ABM) with Mesa and Python

Canada - Agent Based Modeling (ABM) with Mesa and Python

中国 - Agent Based Modeling (ABM) with Mesa and Python

香港 - Agent Based Modeling (ABM) with Mesa and Python

澳門 - Agent Based Modeling (ABM) with Mesa and Python

台灣 - Agent Based Modeling (ABM) with Mesa and Python

USA - Agent Based Modeling (ABM) with Mesa and Python

Österreich - Agent Based Modeling (ABM) with Mesa and Python

Schweiz - Agent Based Modeling (ABM) with Mesa and Python

Deutschland - Agent Based Modeling (ABM) with Mesa and Python

Czech Republic - Agent Based Modeling (ABM) with Mesa and Python

Denmark - Agent Based Modeling (ABM) with Mesa and Python

Estonia - Agent Based Modeling (ABM) with Mesa and Python

Finland - Agent Based Modeling (ABM) with Mesa and Python

Greece - Agent Based Modeling (ABM) with Mesa and Python

Magyarország - Agent Based Modeling (ABM) with Mesa and Python

Ireland - Agent Based Modeling (ABM) with Mesa and Python

Israel - Agent Based Modeling (ABM) with Mesa and Python

Luxembourg - Agent Based Modeling (ABM) with Mesa and Python

Latvia - Agent Based Modeling (ABM) with Mesa and Python

España - Agent Based Modeling (ABM) with Mesa and Python

Italia - Agent Based Modeling (ABM) with Mesa and Python

Lithuania - Agent Based Modeling (ABM) with Mesa and Python

Nederland - Agent Based Modeling (ABM) with Mesa and Python

Norway - Agent Based Modeling (ABM) with Mesa and Python

Portugal - Agent Based Modeling (ABM) with Mesa and Python

România - Agent Based Modeling (ABM) with Mesa and Python

Sverige - Agent Based Modeling (ABM) with Mesa and Python

Türkiye - Agent Based Modeling (ABM) with Mesa and Python

Malta - Agent Based Modeling (ABM) with Mesa and Python

Belgique - Agent Based Modeling (ABM) with Mesa and Python

France - Agent Based Modeling (ABM) with Mesa and Python

日本 - Agent Based Modeling (ABM) with Mesa and Python

Australia - Agent Based Modeling (ABM) with Mesa and Python

Malaysia - Agent Based Modeling (ABM) with Mesa and Python

New Zealand - Agent Based Modeling (ABM) with Mesa and Python

Philippines - Agent Based Modeling (ABM) with Mesa and Python

Singapore - Agent Based Modeling (ABM) with Mesa and Python

Thailand - Agent Based Modeling (ABM) with Mesa and Python

Vietnam - Agent Based Modeling (ABM) with Mesa and Python

India - Agent Based Modeling (ABM) with Mesa and Python

Argentina - Agent Based Modeling (ABM) with Mesa and Python

Chile - Agent Based Modeling (ABM) with Mesa and Python

Costa Rica - Agent Based Modeling (ABM) with Mesa and Python

Ecuador - Agent Based Modeling (ABM) with Mesa and Python

Guatemala - Agent Based Modeling (ABM) with Mesa and Python

Colombia - Agent Based Modeling (ABM) with Mesa and Python

México - Agent Based Modeling (ABM) with Mesa and Python

Panama - Agent Based Modeling (ABM) with Mesa and Python

Peru - Agent Based Modeling (ABM) with Mesa and Python

Uruguay - Agent Based Modeling (ABM) with Mesa and Python

Venezuela - Agent Based Modeling (ABM) with Mesa and Python

Polska - Agent Based Modeling (ABM) with Mesa and Python

United Kingdom - Agent Based Modeling (ABM) with Mesa and Python

South Korea - Agent Based Modeling (ABM) with Mesa and Python

Pakistan - Agent Based Modeling (ABM) with Mesa and Python

Sri Lanka - Agent Based Modeling (ABM) with Mesa and Python

Bulgaria - Agent Based Modeling (ABM) with Mesa and Python

Bolivia - Agent Based Modeling (ABM) with Mesa and Python

Indonesia - Agent Based Modeling (ABM) with Mesa and Python

Kazakhstan - Agent Based Modeling (ABM) with Mesa and Python

Moldova - Agent Based Modeling (ABM) with Mesa and Python

Morocco - Agent Based Modeling (ABM) with Mesa and Python

Tunisia - Agent Based Modeling (ABM) with Mesa and Python

Kuwait - Agent Based Modeling (ABM) with Mesa and Python

Oman - Agent Based Modeling (ABM) with Mesa and Python

Slovakia - Agent Based Modeling (ABM) with Mesa and Python

Kenya - Agent Based Modeling (ABM) with Mesa and Python

Nigeria - Agent Based Modeling (ABM) with Mesa and Python

Botswana - Agent Based Modeling (ABM) with Mesa and Python

Slovenia - Agent Based Modeling (ABM) with Mesa and Python

Croatia - Agent Based Modeling (ABM) with Mesa and Python

Serbia - Agent Based Modeling (ABM) with Mesa and Python

Bhutan - Agent Based Modeling (ABM) with Mesa and Python

Nepal - Agent Based Modeling (ABM) with Mesa and Python