TC406 / MMD

MMD and Relative MMD test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relative MMD

Code for computing the MMD and Relative MMD test. Please refer to http://arxiv.org/pdf/1511.04581.pdf

An example is provided under Example_Vae.py which trains two varational auto-encoders and then compares their samples to a holdout set using MMD.

The Relative MMD computations need to be exact to assure their validity. Thus matrix operations can be costly. Please make sure you have a properly configured numpy installation (linked to optimized blas libraries like openblas).

For a matlab version of the Relative MMD test please see https://github.com/wbounliphone/relative_similarity_test

For questions and or bug reports please dont hesitate to contact eugene.belilovsky@inria.fr


The files related to our experiments (the Skoltech "PRINCIPLES OF APPLIED STATISTICS" course project):

  1. toy_dataset_experiments.ipynb
  2. VAE_plot_reproduction.py
  3. reproducing_MNIST_calc.ipynb
  4. gan_experiments.ipynb
  5. gan.py (for training GAN on a cluster)

About

MMD and Relative MMD test


Languages

Language:Jupyter Notebook 96.1%Language:Python 3.9%