blob: e6310ddaa3a6df7f7de10ea2b89075bbe0b62eb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
API-Definition
====================================
see http://opentox.org/dev/apis/api-1.1/Validation
API-Examples
====================================
how to
------------------------------------
the examples listed below can be performed with the command line tool curl
get list of available validations
------------------------------------
>>> curl <validation_service>/validations
result example (accept-header: application/rdf-xml)
<<< TODO
result example (accept-header: text/uri-list)
<<< <validation_service>/validation/<validation_id>
<<< <validation_service>/validation/validation_id_i
<<< <validation_service>/validation/validation_id_j
validate model on test-dateset
------------------------------------
>>> curl -X POST -d model_uri="<model_service>/model/<model_id>" \
-d dataset_uri="<dataset_service>/dataset/<dataset_id>" \
<validation_service>/validation
result example (accept-header: application/rdf-xml)
<<< TODO
result example (accept-header: text/uri-list)
<<< <validation_service>/validation/<id>
validate an algorithm on a training- and test-dataset
------------------------------------
>>> curl -X POST -d algorithm_uri="<model_service>/model/<model_id>" \
-d training_dataset_uri="<dataset_service>/dataset/<dataset_id>" \
-d test_dataset_uri="<dataset_service>/dataset/<dataset_id>" \
-d prediction_feature="<prediction_feature>" \
<validation_service>/validation
result example (accept-header: application/rdf-xml)
<<< TODO
result example (accept-header: text/uri-list)
<<< <validation_service>/validation/<id>
validate an algorithm on a dataset via training-test-split
------------------------------------
>>> curl -X POST -d algorithm_uri="<model_service>/model/<model_id>" \
-d dataset_uri="<dataset_service>/dataset/<dataset_id>" \
-d prediction_feature="<prediction_feature>" \
-d split_ratio=0.9 \
-d random_seed=2 \
<validation_service>/validation/training-test-split
optional params:
split_ratio, default is 0.67
random_seed, default is 1
result example (accept-header: application/rdf-xml)
<<< TODO
result example (accept-header: text/uri-list)
<<< <validation_service>/validation/<id>
|