COVID-19 Model in Python: An introduction to classes and modules

July 15, 2020 1:00 pm
Virtual on Zoom

REGISTER

Course Description

As we are all impacted by COVID-19, we have to change the way we do work. in order to continue our mission of promoting training on Python, we will give an introduction to some basic Python concepts while using a very simplistic  SIR-model as an example. Python has been really popular in recent years not only of its powerful ability to manipulate data in a relatively easy and fast manner but also because of its statistical capability, and its ability to utilize a wide variety of packages for all tasks. Python is a programming language that lets you work quickly and integrate systems more effectively. In this demonstration, we will introduce the basics of object-oriented programming, as well as the very popular packages Numpy, Pandas, and Pyplotlib.

This training course targets research scientists who have some basic knowledge of Python or other programming languages/concepts, like understanding variables and functions. 

Below are the topics that we will study. 

Content

A basic SIR-model:

Introduction of the model, then the implementation as a class:

        •       Basics of object-oriented programming
        •       Basic classes
        •       Class variables
        •       Methods
        •       Inheritance

Data potting comparing the model and some real data using:

        •       Numpy: Numerical python. Used for advanced mathematical operations.
        •       Pandas: Dataframes, and large data manipulation. 
        •       MatPlotLib: Plotting of graphs. 
 

Requirements

  • Have a PC or Laptop (Windows or Mac)
  • Be able to call into zoom
  • Connect to VPN MassGeneralBrigham network (Former Partners)
  • Have an ERISOne account
  • Be familiar with basic programming concepts 

Please contact hpcsupport@partners.org with any questions or concerns about this course.