-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsample_lgbm.json
86 lines (86 loc) · 2.3 KB
/
sample_lgbm.json
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
{
"comment": "THIS DATA IS MOSTLY MADE UP. It's just here to show structure, the leaf nodes don't actually make sense, which is why the gains jump and there is only a few nodes on 1 tree. Also this comment field doesn't actually exist in the real data but you can't have comments in JSON",
"name": "tree",
"version": "v3",
"num_class": 1,
"num_tree_per_iteration": 1,
"label_index": 0,
"max_feature_idx": 86,
"average_output": false,
"objective": "regression",
"feature_names": [
"Column_0",
"Column_1",
"..."
],
"monotone_constraints": [],
"tree_info": [
{
"tree_index": 0,
"num_leaves": 128,
"num_cat": 0,
"shrinkage": 0.15,
"tree_structure": {
"split_index": 0,
"split_feature": 0,
"split_gain": 5796.2001953125,
"threshold": 1.0000000180025095e-35,
"decision_type": "<=",
"default_left": true,
"missing_type": "None",
"internal_value": 0,
"internal_weight": 0,
"internal_count": 756271,
"left_child": {
"split_index": 1,
"split_feature": 70,
"split_gain": 7108.22998046875,
"threshold": 1.0000000180025095e-35,
"decision_type": "<=",
"default_left": true,
"missing_type": "None",
"internal_value": 0.0875516,
"internal_weight": 377903,
"internal_count": 377903,
"left_child": {
"leaf_index": 0,
"leaf_value": 0.019435662238625723,
"leaf_weight": 73697,
"leaf_count": 73697
},
"right_child": {
"leaf_index": 83,
"leaf_value": 0.05490100616682895,
"leaf_weight": 9243,
"leaf_count": 9243
}
},
"right_child": {
"split_index": 1,
"split_feature": 70,
"split_gain": 7108.22998046875,
"threshold": 1.0000000180025095e-35,
"decision_type": "<=",
"default_left": true,
"missing_type": "None",
"internal_value": 0.0875516,
"internal_weight": 377903,
"internal_count": 377903,
"left_child": {
"leaf_index": 0,
"leaf_value": 0.019435662238625723,
"leaf_weight": 73697,
"leaf_count": 73697
},
"right_child": {
"leaf_index": 83,
"leaf_value": 0.05490100616682895,
"leaf_weight": 9243,
"leaf_count": 9243
}
}
}
}
],
"pandas_categorical": null
}