Skip to content

eugenium/MMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]

About

MMD and Relative MMD test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages