Code for the "hypothesis kernel analysis" project.
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:
src/analysis/estimate_datadriven_models.py
To convert the mappings into 2D embedding matrices that the kernel classifier can use, run:
src/analysis/convert_mappings_to_matrix.py
Finally, run the three-stage analysis:
src/analysis/prediction_analysis.py
src/analysis/explanation_analysis.py
src/analysis/exploration_analysis.py
To reproduce the paper's figures, execute the following notebook:
notebooks/figures.ipynb