Home

Awesome

torch-two-sample

Documentation Status Build Status

A PyTorch library for differentiable two-sample tests

Description

This package implements a total of six two sample tests:

Please refer to the documentation for more information about the project. You can also have a look at the following notebook that showcases how to use the code to train a generative model on MNIST.

Installation

After installing PyTorch, you can install the package with:

python setup.py install

Testing

To run the tests you simply have to run:

python setup.py test

Note that you will need to have Shogun installed for one of the test cases.

Bibliography