Skip to content

Instantly share code, notes, and snippets.

@camallen
Last active August 6, 2019 15:01
Show Gist options
  • Save camallen/e332845c3190f5492695920ab232ce84 to your computer and use it in GitHub Desktop.
Save camallen/e332845c3190f5492695920ab232ce84 to your computer and use it in GitHub Desktop.
Aggregation caesar for offline use via docker
# use docker to run the aggregation code container with the current dir as /data
docker run --rm -it --name aggregation_caesar -v ${PWD}:/data zooniverse/aggregation-for-caesar:latest bash
# based on the examples in the documentation at https://aggregation-caesar.zooniverse.org/Scripts.html
# configure the extractors/reducers from the workflows export
panoptes_aggregation config /data/workflows.csv $WORKFLOW_ID
# extract the data for the different tasks
# note the extractor config from the step above
panoptes_aggregation extract classifications.csv /data/Extractor_config_workflow.yaml -d /data -o thales
# reduce the data extracted from the step above, feed the output from above and the Reducer config setup in the first step.
panoptes_aggregation reduce extractor_thales.csv Reducer_config_workflow_question_extractor.yaml -d /data -o thales
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment