summaryrefslogtreecommitdiffstats
path: root/application/src/test/app-packages/model-evaluation/models/lightgbm/regression.json
blob: cf0488ecd8be8fddc8a2c62668093177a118a8f1 (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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
{
  "name": "tree",
  "version": "v3",
  "num_class": 1,
  "num_tree_per_iteration": 1,
  "label_index": 0,
  "max_feature_idx": 3,
  "average_output": false,
  "objective": "regression",
  "feature_names": [
    "numerical_1",
    "numerical_2",
    "categorical_1",
    "categorical_2"
  ],
  "monotone_constraints": [],
  "tree_info": [
    {
      "tree_index": 0,
      "num_leaves": 3,
      "num_cat": 1,
      "shrinkage": 1,
      "tree_structure": {
        "split_index": 0,
        "split_feature": 1,
        "split_gain": 68.5353012084961,
        "threshold": 0.46643291586559305,
        "decision_type": "<=",
        "default_left": true,
        "missing_type": "NaN",
        "internal_value": 0,
        "internal_weight": 0,
        "internal_count": 1000,
        "left_child": {
          "leaf_index": 0,
          "leaf_value": 2.1594397038037663,
          "leaf_weight": 469,
          "leaf_count": 469
        },
        "right_child": {
          "split_index": 1,
          "split_feature": 3,
          "split_gain": 41.27640151977539,
          "threshold": "2||3||4",
          "decision_type": "==",
          "default_left": false,
          "missing_type": "NaN",
          "internal_value": 0.246035,
          "internal_weight": 531,
          "internal_count": 531,
          "left_child": {
            "leaf_index": 1,
            "leaf_value": 2.235297305276056,
            "leaf_weight": 302,
            "leaf_count": 302
          },
          "right_child": {
            "leaf_index": 2,
            "leaf_value": 2.1792953471546546,
            "leaf_weight": 229,
            "leaf_count": 229
          }
        }
      }
    },
    {
      "tree_index": 1,
      "num_leaves": 3,
      "num_cat": 1,
      "shrinkage": 0.1,
      "tree_structure": {
        "split_index": 0,
        "split_feature": 2,
        "split_gain": 64.22250366210938,
        "threshold": "3||4",
        "decision_type": "==",
        "default_left": false,
        "missing_type": "NaN",
        "internal_value": 0,
        "internal_weight": 0,
        "internal_count": 1000,
        "left_child": {
          "leaf_index": 0,
          "leaf_value": 0.03070842919354316,
          "leaf_weight": 399,
          "leaf_count": 399
        },
        "right_child": {
          "split_index": 1,
          "split_feature": 0,
          "split_gain": 36.74250030517578,
          "threshold": 0.5102250691730842,
          "decision_type": "<=",
          "default_left": true,
          "missing_type": "NaN",
          "internal_value": -0.204906,
          "internal_weight": 601,
          "internal_count": 601,
          "left_child": {
            "leaf_index": 1,
            "leaf_value": -0.04439151147520909,
            "leaf_weight": 315,
            "leaf_count": 315
          },
          "right_child": {
            "leaf_index": 2,
            "leaf_value": 0.005117411709368601,
            "leaf_weight": 286,
            "leaf_count": 286
          }
        }
      }
    },
    {
      "tree_index": 2,
      "num_leaves": 3,
      "num_cat": 0,
      "shrinkage": 0.1,
      "tree_structure": {
        "split_index": 0,
        "split_feature": 1,
        "split_gain": 57.1327018737793,
        "threshold": 0.668665477622446,
        "decision_type": "<=",
        "default_left": true,
        "missing_type": "NaN",
        "internal_value": 0,
        "internal_weight": 0,
        "internal_count": 1000,
        "left_child": {
          "split_index": 1,
          "split_feature": 1,
          "split_gain": 40.859100341796875,
          "threshold": 0.008118820676863816,
          "decision_type": "<=",
          "default_left": true,
          "missing_type": "NaN",
          "internal_value": -0.162926,
          "internal_weight": 681,
          "internal_count": 681,
          "left_child": {
            "leaf_index": 0,
            "leaf_value": -0.15361238490967524,
            "leaf_weight": 21,
            "leaf_count": 21
          },
          "right_child": {
            "leaf_index": 2,
            "leaf_value": -0.01192330846157292,
            "leaf_weight": 660,
            "leaf_count": 660
          }
        },
        "right_child": {
          "leaf_index": 1,
          "leaf_value": 0.03499044894987518,
          "leaf_weight": 319,
          "leaf_count": 319
        }
      }
    },
    {
      "tree_index": 3,
      "num_leaves": 3,
      "num_cat": 1,
      "shrinkage": 0.1,
      "tree_structure": {
        "split_index": 0,
        "split_feature": 0,
        "split_gain": 54.77090072631836,
        "threshold": 0.5201391072644542,
        "decision_type": "<=",
        "default_left": true,
        "missing_type": "NaN",
        "internal_value": 0,
        "internal_weight": 0,
        "internal_count": 1000,
        "left_child": {
          "leaf_index": 0,
          "leaf_value": -0.02141000620783247,
          "leaf_weight": 543,
          "leaf_count": 543
        },
        "right_child": {
          "split_index": 1,
          "split_feature": 2,
          "split_gain": 27.200700759887695,
          "threshold": "0||1",
          "decision_type": "==",
          "default_left": false,
          "missing_type": "NaN",
          "internal_value": 0.255704,
          "internal_weight": 457,
          "internal_count": 457,
          "left_child": {
            "leaf_index": 1,
            "leaf_value": -0.004121485787596721,
            "leaf_weight": 191,
            "leaf_count": 191
          },
          "right_child": {
            "leaf_index": 2,
            "leaf_value": 0.04534090904886873,
            "leaf_weight": 266,
            "leaf_count": 266
          }
        }
      }
    },
    {
      "tree_index": 4,
      "num_leaves": 3,
      "num_cat": 1,
      "shrinkage": 0.1,
      "tree_structure": {
        "split_index": 0,
        "split_feature": 3,
        "split_gain": 51.84349822998047,
        "threshold": "2||3||4",
        "decision_type": "==",
        "default_left": false,
        "missing_type": "NaN",
        "internal_value": 0,
        "internal_weight": 0,
        "internal_count": 1000,
        "left_child": {
          "split_index": 1,
          "split_feature": 1,
          "split_gain": 39.352699279785156,
          "threshold": 0.27283279016959255,
          "decision_type": "<=",
          "default_left": true,
          "missing_type": "NaN",
          "internal_value": 0.188414,
          "internal_weight": 593,
          "internal_count": 593,
          "left_child": {
            "leaf_index": 0,
            "leaf_value": -0.01924803254356527,
            "leaf_weight": 184,
            "leaf_count": 184
          },
          "right_child": {
            "leaf_index": 2,
            "leaf_value": 0.03643772842347651,
            "leaf_weight": 409,
            "leaf_count": 409
          }
        },
        "right_child": {
          "leaf_index": 1,
          "leaf_value": -0.02701711918923075,
          "leaf_weight": 407,
          "leaf_count": 407
        }
      }
    }
  ],
  "pandas_categorical": [
    [
      "a",
      "b",
      "c",
      "d",
      "e"
    ],
    [
      "i",
      "j",
      "k",
      "l",
      "m"
    ]
  ]
}