Kernel two-sample test on high dimensional data lying on low-dimensional manifold

Matlab code to reproduce the numerical results in

X. Cheng and Y. Xie. "Kernel two-sample tests for manifold data".

ArXiv link: https://arxiv.org/abs/2105.03425

The script to run: demo_mnist.m

Note: The 'imrotate' function requires Image Processing Toolbox of Matlab. https://www.mathworks.com/products/image.html