You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the implementation of the code for the paper "Stationary MMD Points for Cubature". See below for an illustration of stationary MMD points.
Installation
To install the required packages, run the following command:
pip install -r requirements.txt
How to reproduce results
1. Mixture of Gaussian (MoG)
To reproduce the results for our proposed stationary MMD points in the MoG experiment (Figure 3 (Top row)), run the following command:
You can vary the number of particles $n$ by altering the argument '--particle_num 100'.
The baseline methods: Support Points (SP), Kernel Herding (KH), Kernel Thinning (KT), and Quasi-Monte Carlo (QMC) can also be run using the same configuration by replacing main.py with the corresponding Python script for each method. The number of particles $n$ for kernel thinning must be a power of 2.
2. OpenML Dataset
To reproduce the results for the openML dataset (Figure 3 (Bottom row)), run:
You can vary the number of particles $n$ by altering the argument '--particle_num 100'.
The baseline methods: Support Points (SP), Kernel Herding (KH), and Kernel Thinning (KT) can also be run by replacing main.py with the corresponding Python script for each method.
The number of particles $n$ for kernel thinning must be a power of 2.