aboutsummaryrefslogtreecommitdiffstats
path: root/model-integration/src/test/models
diff options
context:
space:
mode:
authorLester Solbakken <lesters@oath.com>2019-09-11 10:28:53 +0200
committerLester Solbakken <lesters@oath.com>2019-09-11 10:28:53 +0200
commit45e26313812710cf7cfd56af3b14ddf8a9d7a82c (patch)
treed0779ed5f8a8258c817c21a6b3651ec4f5722d13 /model-integration/src/test/models
parent32feba98fc8ec7dc1ca0fccd14af267765bdca95 (diff)
Add temporary test of xgboost missing field if-inversion
Diffstat (limited to 'model-integration/src/test/models')
-rw-r--r--model-integration/src/test/models/xgboost/xgboost.2.2.if_inversion.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/model-integration/src/test/models/xgboost/xgboost.2.2.if_inversion.json b/model-integration/src/test/models/xgboost/xgboost.2.2.if_inversion.json
new file mode 100644
index 00000000000..c1217ef55a6
--- /dev/null
+++ b/model-integration/src/test/models/xgboost/xgboost.2.2.if_inversion.json
@@ -0,0 +1,19 @@
+[
+ { "nodeid": 0, "depth": 0, "split": "f29", "split_condition": -0.1234567, "yes": 1, "no": 2, "missing": 2, "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": 6, "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": 2, "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