Skip to content

Latest commit

 

History

History

2023-PyMCon

PyMCon Web Series 2023

Topic: An introduction to multi-output Gaussian processes using PyMC

Multi-output Gaussian processes have recently gained strong attention from researchers and have become an active research topic in machine learning’s multi-task learning. The advantage of multi-output Gaussian processes is their capacity to simultaneously learn and infer many outputs which have a similar source of uncertainty from inputs.

This talk presents to audiences how to build multi-output Gaussian processes in PyMC. It first introduces the concept of Gaussian processes (GPs) and multi-output GPs and how they can address real problems in several domains. It then shows how to implement multi-output GPs models such as the intrinsic coregionalization model (ICM) and the linear model of coregionalization (LCM) in Python using PyMC with real-world datasets.

Workshop content

Notebooks/Slides Content Link
1. Intro to PyMC GP This notebook introduces the basic concept of Gaussian Process (GP)
  • Bayesian linear regression
  • Gaussian Process Regression
  • GP Mean and Covariance Functions
Open In Colab
2. Intro to multi-output GPs This slides introduce Multi-output Gaussian Processes (MoGPs)
  • Why we need MoGPs?
  • Intrinsic Coregionalization Model (ICM)
  • Linear Coregionalization Model (LCM)
Open In Pdf
3. PyMC MoGP example This notebook demonstrates how to implement a Multi-output Gaussian Process (MoGP) in PyMC Open In Colab

Run on Google Colab

Please create a new cell at the beginning of the notebooks and run these following commands to install the latest PyMC version and related packages

!pip install pymc==5.0.2 # the latest pymc version
!pip install graphviz
!pip install matplotlib==3.6.3
!pip install watermark

Run on a local environment

Set up the environment

git clone git@github.com:danhphan/workshops.git
cd ./workshops/2023-PyMCon
conda create --name pymcon -c conda-forge python=3.9
conda activate pymcon
conda install -c conda-forge mamba
mamba install -c conda-forge "pymc>=5.0.0"
pip install -r requirements.txt