This code is for the paper Quantifying task-relevant representational similarity using decision variable correlation The environment file is included along with the package. However it is advised to install only the necessary packages as you go along. This code will attempt to save .pkl files for the model activations. Please make sure there is enough space (~10GB)
DVC_experiment.ipynb = the experiments DVC.py = file for the DVC method environment.yml = environment file category_ids.pkl = file of stimuli_ids to make sure the stimuli is loaded in order DVC_lookup.ipynb = file of pre-calculated DVC. DVC between all pairs of models / subjects can be found by calling dvc_lookup[(model, subject)]