Git Product home page Git Product logo

nod-experiment's Introduction

Novel Objects Experiment

This repository contains code for the web-based human experiments for the paper Learning to Learn: How to Continuously Teach Humans and Machines.

Hosting the experiment

To run the experiment locally, make sure node.js is installed and run:

$ npm install
$ npm run dev

and visit http://localhost:5173.

To build a production version of the experiment, run:

$ npm run build

after which the bundled experiment will be written to dist/ which can be uploaded online.

Collecting Data

We host the experiment on a JATOS server to collect the experiments. Instructions to install and get started with the server can be found here.

To setup the experiment in JATOS, we provide jzip files for all six curriculums in build/ which can be imported into JATOS as instructed here.

Computing Results

The raw results for the experiment can be viewed in the JATOS server. To compute the accuracy and forgetfulness, we provide the parse-results.js file which writes the results to a JSON file.

In order get the accuracy and forgetfulness, export the raw result files for the desired participants as instructed here. Make sure to export export a JATOS Results Archive (JRZIP) file.

Exporting

In an empty directory, unzip the jrzip file and run the parse-results.js script from there.

For instance, assuming you are at the directory of this repository in the terminal.

$ mkdir results && cd results
$ cp results.jrzip .
$ unzip results.jrzip
$ node ../parse-results.js

nod-experiment's People

Contributors

vsamarth avatar

Watchers

Mengmi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.