Read-only mirror of https://github.com/epfl-dlab/biased-bytes — EPFL Data Science & AI Lab (dlab). Issues & pull requests at the source.
  • Jupyter Notebook 99.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kristina Gligoric ed204c7769
Update README.md
2022-09-28 15:41:33 +02:00
code update structure 2022-09-28 15:24:13 +02:00
data add data 2022-09-28 15:21:54 +02:00
figures update 2022-08-12 17:32:52 +02:00
.DS_Store update structure 2022-09-28 15:24:13 +02:00
LICENSE Initial commit 2022-08-12 17:19:39 +02:00
README.md Update README.md 2022-09-28 15:41:33 +02:00

biased-bytes

Code and data for:

Kristina Gligorić, Irena Ðorđević, and Robert West. 2022. Biased Bytes: On the Validity of Estimating Food Consumption from Digital Traces. Proc. ACM Hum.-Comput. Interact. 6, CSCW2, Article 497 (November 2022), 27 pages. https://doi.org/10.1145/3555660.

Code

The code is placed in the "code" folder. Code is organized into steps_1 to 6, which allow reproducing results. Twitter image data collection can be reproduced by running twitter_scraping_script.py.

Data

Data is placed in the "data" folder. It has the following structure:

  • crowdsourced_annotation_input: For each food type, contains input for Amazon Mechanical Turk experiments, including the IDs of compared images.

  • crowdsourced_annotation_output: For each food type, contains results from Amazon Mechanical Turk experiments, including outcomes of pairwise comparisons and provided justifications.

  • aggregated_dataframes: Contains two aggregated dataframes that allow reproducing the analysis and visualization code: df_results_images.pickle and df_results.pickle

  • twitter_dataset: It contains the queries necessary to reproduce the data collection, raw dataset of tweets, and IDs of Twitter food images after manual and automated annotation.

     twitter_queries.csv: Category names necessary to reproduce the data collection
    
     dataset.csv: The raw dataset of collected tweets, including the tweet and user ID, which can be used to download the Twitter images themselves
    
     manual_and_automated_annotation.csv: Dataset of collected tweets after manual and automated annotation
    

MyFoodRepo images can be downloaded directly from the challenge website (https://www.aicrowd.com/challenges/food-recognition-challenge). It is necessary to log in, accept the Terms and conditions, and download the train-v0.4.tar.gz (1.16G) file: https://www.aicrowd.com/challenges/food-recognition-challenge/dataset_files.