create_predictions | R Documentation |
create predictions for a sysrev project
create_predictions(pid, aid, lid, lbl.value, pred, token = get_srtoken())
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 |
json describing result of call
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.