This is the code for the paper "HRN: A Holistic Approach to One Class Learning". 
Some important packages' versions are as follow:
    scikit-learn == 0.21.3
    torch == 1.2.0
You can run our code on MNIST directly by this instruction "python3 main.py". 