forked from h2oai/h2o-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bayes.jsonschema
73 lines (68 loc) · 2.22 KB
/
bayes.jsonschema
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
# example of first result
{
"Request2": 0,
"description": "NaiveBayes",
"destination_key": "NaiveBayes_917fa8525f38bfa171a5a9c7514b4784",
"end_time": 0,
"exception": null,
"job_key": "$0301c0a8002232d4ffffffff$_a24728433e6636cb93ba0a9e9bcd4516",
"laplace": 0,
"response": {},
"response_info": {
"h2o": "pytest-kevin-8798",
"node": "/192.168.0.34:54321",
"redirect_url": "/2/NBProgressPage.json?job_key=%240301c0a8002232d4ffffffff%24_a24728433e6636cb93ba0a9e9bcd4516&destination_key=NaiveBayes_917fa8525f38bfa171a5a9c7514b4784",
"status": "redirect",
"time": 1
},
"source": {
"_key": "covtype.hex"
},
"start_time": 1407789364379,
"state": "RUNNING"
}
# final
{
"type":"object",
"properties":{
"Request2": { "type":"number" },
"nb_model": { "type":"object",
"properties":{
"_dataKey": { "type":"string" },
"_domains": { "type":"array", "items":[
{ "type":"null" },
{ "type":"array" },
]
},
"_key": { "type":"string" },
"_modelClassDist": { "type":"null" },
"_names": { "type":"array", "items":
{ "type":"string" }
},
"_priorClassDist": { "type":"null" },
"laplace": { "type":"number" },
"ncats": { "type":"number" },
"nnums": { "type":"number" },
"pcond": { "type":"array", "items":
{ "type":"array" }
},
"pprior": { "type":"array", "items":
{ "type":"number" }
},
"rescnt": { "type":"array", "items":
{ "type":"number" }
},
"warnings": { "type":"array" }
}
},
"response_info": {
"type":"object", "properties":{
"h2o": { "type":"string" },
"node": { "type":"string" },
"redirect_url": { "type":"null" },
"status": { "type":"string" },
"time": { "type":"number" }
}
}
}
}