Debian Codegraph @

clang-tools-extra/clangd/unittests/decision_forest_model/forest.json

raw
1 [
2 {
3 "operation": "if_greater",
4 "feature": "ANumber",
5 "threshold": 200.0,
6 "then": {
7 "operation": "if_greater",
8 "feature": "AFloat",
9 "threshold": -1,
10 "then": {
11 "operation": "boost",
12 "score": 10.0
13 },
14 "else": {
15 "operation": "boost",
16 "score": -20.0
17 }
18 },
19 "else": {
20 "operation": "if_member",
21 "feature": "ACategorical",
22 "set": [
23 "A",
24 "C"
25 ],
26 "then": {
27 "operation": "boost",
28 "score": 3.0
29 },
30 "else": {
31 "operation": "boost",
32 "score": -4.0
33 }
34 }
35 },
36 {
37 "operation": "if_member",
38 "feature": "ACategorical",
39 "set": [
40 "A",
41 "B"
42 ],
43 "then": {
44 "operation": "boost",
45 "score": 5.0
46 },
47 "else": {
48 "operation": "boost",
49 "score": -6.0
50 }
51 }
52 ]