A python implementation of the kernel two-samples test as in Gretton et al 2012 (JMLR).