-
Notifications
You must be signed in to change notification settings - Fork 1
Api
Matthias Schildwächter edited this page Sep 7, 2017
·
5 revisions
The Api path to access the functionalities of the machine learning module.
Method | Path | Result | Comment |
---|---|---|---|
GET | /ml/get/evaluation/data/ | evaluation data (F_1, Precision, Recall) | |
GET | /ml/get/training/data/ | training data (as String) | In format of GermaNER |
GET | /ml/retrain/ | true if retraining was successful | starts the retraining process of GermaNER with the saved training data |
GET | /ml/retrain/status | the time the training started (as String) | |
POST | /ml/annotate/{id} | a list of Anonymization objects | expected parameter is id of the actual document |
POST | /ml/update/training/data/{id} | true if the appending of training data was succesful | expected parameter is id of the reviewed and saved document |
POST | /ml/calculate/f/one/{id} | true if calculation worked | expected parameter is id of the reviewed and saved document and a list of correct Anonymization objects |
POST | /ml/post/training/data/{resetOld}/ | true if the send training data was appended | expected parameter is a string with training data in format of GermaNER training data and a boolean if the data should overwrite |