Skip to contents

create predictions for a sysrev project

Usage

create_predictions(pid, aid, lid, lbl.value, pred, token = get_srtoken())

Arguments

pid

the project id to update

aid

the article id within the project id to update

lid

the label id to update

lbl.value

a value to predict for the given aid and lid

pred

a prediction (0-1) for the given aid,lid and lbl.value

token

a token with write acces

Value

json describing result of call