Skip to content

lukassnoek/hypothesis-kernel-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hypothesis-kernel-analysis

DOI

Code for the "hypothesis kernel analysis" project.

Order to run scripts

Download the data from Figshare and store in data/. These data represent the preprocessed data.

The data-driven models (per split) are estimated by running:

  1. src/analysis/estimate_datadriven_models.py

To convert the mappings into 2D embedding matrices that the kernel classifier can use, run:

  1. src/analysis/convert_mappings_to_matrix.py

Finally, run the three-stage analysis:

  1. src/analysis/prediction_analysis.py
  2. src/analysis/explanation_analysis.py
  3. src/analysis/exploration_analysis.py

To reproduce the paper's figures, execute the following notebook:

  1. notebooks/figures.ipynb