summaryrefslogtreecommitdiffstats
path: root/model-integration/src/test/models/xgboost/xgboost.test.if_inversion.json
blob: 8994d89787e17d6ce354dc68ee70c44714b4c40b (plain) (blame)
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
[
  { "nodeid": 0, "depth": 0, "split": "f1", "split_condition": 0.5, "yes": 1, "no": 2, "missing": 2, "children": [
    { "nodeid": 1, "depth": 1, "split": "f2", "split_condition": 0.5, "yes": 3, "no": 4, "missing": 3, "children": [
      { "nodeid": 3, "leaf": 1.0 },
      { "nodeid": 4, "leaf": 2.0 }
    ]},
    { "nodeid": 2, "depth": 1, "split": "f2", "split_condition": 0.5, "yes": 5, "no": 6, "missing": 5, "children": [
      { "nodeid": 5, "leaf": 3.0 },
      { "nodeid": 6, "leaf": 4.0 }
    ]}
  ]},
  { "nodeid": 0, "depth": 0, "split": "f1", "split_condition": 1.5, "yes": 1, "no": 2, "missing": 2, "children": [
    { "nodeid": 1, "leaf": 0.0 },
    { "nodeid": 2, "depth": 1, "split": "f2", "split_condition": 0.5, "yes": 3, "no": 4, "missing": 4, "children": [
      { "nodeid": 3, "leaf": 4.0 },
      { "nodeid": 4, "leaf": 5.0 }
    ]}
  ]},
  { "nodeid": 0, "depth": 0, "split": "f2", "split_condition": 1.5, "yes": 1, "no": 2, "missing": 2, "children": [
    { "nodeid": 1, "leaf": 0.0 },
    { "nodeid": 2, "depth": 1, "split": "f1", "split_condition": 0.5, "yes": 3, "no": 4, "missing": 4, "children": [
      { "nodeid": 3, "leaf": 4.0 },
      { "nodeid": 4, "leaf": 3.0 }
    ]}
  ]}
]