Skip to content

jacobkauffmann/unsupervised-ch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THE CLEVER HANS EFFECT IN UNSUPERVISED LEARNING

Authors:

  • Jacob Kauffmann
  • Jonas Dippel
  • Lukas Ruff
  • Wojciech Samek
  • Gregoire Montavon
  • Klaus-Robert Müller

Usage:

1. Data Preparation

Download the required datasets:

Place the datasets in the data/ directory.

2. Running the experiments

2.1 Software dependencies

  • All experiments are implemented in Python.
  • Main dependencies: torch, torchvision, ipython, matplotlib, scikit-learn, scipy, numpy, Pillow, opencv-python-headless.
  • Experiments provide individual requirements.txt files.

2.2 COVID-19

  • Navigate to the radiology/ directory.
  • Open covid19.ipynb with ipython.
  • Run all cells.
  • Results can be found in the cell outputs and the results/ sub-directory.

2.3 Anomaly Detection

  • Additional dependency: Snakemake.
  • Navigate to the anomalies/ directory.
  • Run snakemake --cores 12.
  • Results can be found in the results/ sub-directory.

2.4 Representation Learning

  • Navigate to the representation/ directory.
  • Follow instructions in the README.md file in the respective folder.

Contact Information:

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published