diff options
author | Grace Lam <graceslam@gmail.com> | 2018-08-14 14:02:43 -0700 |
---|---|---|
committer | Grace Lam <graceslam@gmail.com> | 2018-08-14 14:02:43 -0700 |
commit | 88f31d5f5af6af44f28de9f363c33044220bd611 (patch) | |
tree | e032aa9ed142e7e53ef53f927891cc6ded5edf7f /config-model/src/test/integration | |
parent | 7892f289d3cebcdba6ab16d035c41826b7cb7987 (diff) |
Add XGBoost to Vespa converter
Diffstat (limited to 'config-model/src/test/integration')
-rw-r--r-- | config-model/src/test/integration/xgboost/models/xgboost.2.2.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config-model/src/test/integration/xgboost/models/xgboost.2.2.json b/config-model/src/test/integration/xgboost/models/xgboost.2.2.json new file mode 100644 index 00000000000..f8949b47e52 --- /dev/null +++ b/config-model/src/test/integration/xgboost/models/xgboost.2.2.json @@ -0,0 +1,19 @@ +[ + { "nodeid": 0, "depth": 0, "split": "f29", "split_condition": -0.1234567, "yes": 1, "no": 2, "missing": 1, "children": [ + { "nodeid": 1, "depth": 1, "split": "f56", "split_condition": -0.242398, "yes": 3, "no": 4, "missing": 3, "children": [ + { "nodeid": 3, "leaf": 1.71218 }, + { "nodeid": 4, "leaf": -1.70044 } + ]}, + { "nodeid": 2, "depth": 1, "split": "f109", "split_condition": 0.8723473, "yes": 5, "no": 6, "missing": 5, "children": [ + { "nodeid": 5, "leaf": -1.94071 }, + { "nodeid": 6, "leaf": 1.85965 } + ]} + ]}, + { "nodeid": 0, "depth": 0, "split": "f60", "split_condition": -0.482947, "yes": 1, "no": 2, "missing": 1, "children": [ + { "nodeid": 1, "depth": 1, "split": "f29", "split_condition": -4.2387498, "yes": 3, "no": 4, "missing": 3, "children": [ + { "nodeid": 3, "leaf": 0.784718 }, + { "nodeid": 4, "leaf": -0.96853 } + ]}, + { "nodeid": 2, "leaf": -6.23624 } + ]} +]
\ No newline at end of file |