Skip to content

trishamazu/complexity-experiment-final

Repository files navigation

Investigating the Emergence of Complexity from the Dimensional Structure of Mental Representations

Prerequisites

This project requires:

  • Python 3.8.18 (other versions may work, but this is the tested version)
git clone https://github.com/trishamazu/complexity-experiment-final.git
pip install -r requirements.txt

Image Datasets

  • THINGS (Hebart et al., 2020)^[1]
  • Bistable-Control
  • Savoias-Dataset (Saraee et al., 2018)^[2]. The Ground truth subfolder contains human complexity ratings.

Embeddings

The embeddings folder contains two folders with embeddings for all three aforementioned datasets obtained from the respective models:

Experiments

  • The Experiments folder contains the code for the THINGS ranking experiment and the bistable 2-AFC experiment.
  • The Data subfolder contains the human complexity ratings for both experiments.

Optimizations

  • The Bayesian subfolder contains the code used to extract the optimal weights from a csv of embeddings and a target set of complexity scores.
  • The BestWeights subfolder contains the best weights obtained from running the optimization on the three datasets.
  • HBAOptimizations and CBAOptimizations contain notebooks that can be used to run the optimization on different datasets.
  • The Neural subfolder contains code that can be used to create RDMs and compare them with THINGS MEG data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published