-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XGBoost runtime fixes #5938
base: master
Are you sure you want to change the base?
XGBoost runtime fixes #5938
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments on the PR
@@ -11,7 +11,7 @@ docker-build: | |||
s2i build \ | |||
-E environment \ | |||
./xgboostserver \ | |||
${DOCKER_REGISTRY}/seldon-core-s2i-python38:${VERSION} \ | |||
seldonio/seldon-core-s2i-python3:${VERSION} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seldonio/seldon-core-s2i-python3:${VERSION} \ | |
${DOCKER_REGISTRY}/seldon-core-s2i-python3:${VERSION} \ |
|
||
# Assert the expected shape and type of predictions | ||
assert isinstance(predictions, np.ndarray) | ||
assert predictions.shape == (10,) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add new line
) | ||
return {} | ||
return {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add new line
server.load() | ||
X_test = np.random.rand(10, 3) # Incorrect number of features | ||
with pytest.raises(ValueError): | ||
server.predict(X_test, names=[]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add new line
import xgboost as xgb | ||
from XGBoostServer import XGBoostServer | ||
|
||
def test_load_json_model(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we add a test for the old format as well (if this test doesnt exist elsewhere?)
else: | ||
raise FileNotFoundError(f"Model file not found: {BOOSTER_FILE} or {BOOSTER_FILE_DEPRECATED}") | ||
|
||
if version.parse(xgb.__version__) < version.parse("1.7.0"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this code path possible given that we build the server with a specific xgboost >= 1.7.0, <=2.2.0
?
metadata = yaml.safe_load(f.read()) | ||
# Validate and sanitize the loaded metadata if needed | ||
return metadata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change really required, this looks not to be adding anything compared to the existing code.
@@ -0,0 +1 @@ | |||
{"learner":{"attributes":{},"feature_names":[],"feature_types":[],"gradient_booster":{"model":{"gbtree_model_param":{"num_parallel_tree":"1","num_trees":"100"},"iteration_indptr":[0,10,20,30,40,50,60,70,80,90,100],"tree_info":[0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9],"trees":[{"base_weights":[1.25E0,4.5000002E-1,-5.2631583E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":0,"left_children":[1,-1,-1],"loss_changes":[1.6401314E2,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,4.5000002E-1,-5.2631583E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[2.6999998E1,9E0,1.8E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[1.25E0,-5E-2,2.1052632E0,4.0671644E0,-3.8793105E-1,4.3775937E-1,6.7307696E-2,1.9230768E-2,-4.878049E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":1,"left_children":[1,-1,3,5,7,-1,-1,-1,-1],"loss_changes":[4.2960518E1,0E0,9.451438E1,8.348404E0,6.3159084E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4],"right_children":[2,-1,4,6,8,-1,-1,-1,-1],"split_conditions":[3E0,-5E-2,1.8E0,5E0,5E0,4.3775937E-1,6.7307696E-2,1.9230768E-2,-4.878049E-2],"split_indices":[2,0,3,2,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[2.6999998E1,9E0,1.8E1,9.719999E0,8.28E0,8.639999E0,1.0799999E0,1.0799999E0,7.2E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[1.25E0,-3.2024795E-1,4.273859E-1,-5.2486192E-2,1.460177E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0],"id":2,"left_children":[1,3,-1,-1,-1],"loss_changes":[1.3431853E2,7.819235E0,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1],"right_children":[2,4,-1,-1,-1],"split_conditions":[1.7E0,4.9E0,4.273859E-1,-5.2486192E-2,1.460177E-1],"split_indices":[3,2,0,0,0],"split_type":[0,0,0,0,0],"sum_hessian":[2.6999998E1,1.8359999E1,8.639999E0,1.7099998E1,1.26E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"5","size_leaf_vector":"1"}},{"base_weights":[-5.357143E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":3,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3571433E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.6999998E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.357143E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":4,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3571433E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.6999998E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.357143E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":5,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3571433E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.6999998E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.357143E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":6,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3571433E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.6999998E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.357143E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":7,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3571433E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.6999998E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.357143E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":8,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3571433E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.6999998E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.357143E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":9,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3571433E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.6999998E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[1.0530329E0,2.9928362E-1,-5.21405E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":10,"left_children":[1,-1,-1],"loss_changes":[9.675807E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,2.9928362E-1,-5.21405E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.0170427E1,1.3113234E1,1.7057194E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[1.0580544E0,-4.940408E-2,1.6666938E0,2.8028016E0,-3.789836E-1,2.943885E-1,6.25111E-2,1.901586E-2,-4.8189368E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":11,"left_children":[1,-1,3,5,7,-1,-1,-1,-1],"loss_changes":[3.0192371E1,0E0,5.349557E1,2.6528091E0,6.150526E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4],"right_children":[2,-1,4,6,8,-1,-1,-1,-1],"split_conditions":[3E0,-4.940408E-2,1.8E0,5E0,5E0,2.943885E-1,6.25111E-2,1.901586E-2,-4.8189368E-2],"split_indices":[2,0,3,2,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.0089243E1,8.5286255E0,2.1560617E1,1.3624095E1,7.9365225E0,1.2464719E1,1.1593757E0,1.0854807E0,6.851042E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[1.0635515E0,-4.624213E-1,2.7789037E0,-5.158223E-2,-2.8775844E-3,1.0260737E-1,2.953345E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0],"id":12,"left_children":[1,3,5,-1,-1,-1,-1],"loss_changes":[8.240886E1,3.8481712E-1,1.4745712E0,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2],"right_children":[2,4,6,-1,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,1.8E0,-5.158223E-2,-2.8775844E-3,1.0260737E-1,2.953345E-1],"split_indices":[2,3,3,0,0,0,0],"split_type":[0,0,0,0,0,0,0],"sum_hessian":[2.999191E1,1.6258667E1,1.3733244E1,1.43073015E1,1.9513648E0,1.8659308E0,1.1867313E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"7","size_leaf_vector":"1"}},{"base_weights":[-5.3107685E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":13,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3107686E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.5544205E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.3107685E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":14,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3107686E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.5544205E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.3107685E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":15,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3107686E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.5544205E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.3107685E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":16,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3107686E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.5544205E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.3107685E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":17,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3107686E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.5544205E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.3107685E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":18,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3107686E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.5544205E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.3107685E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":19,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.3107686E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.5544205E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[9.1688216E-1,2.2754784E-1,-5.1663794E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":20,"left_children":[1,-1,-1],"loss_changes":[6.656246E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,2.2754784E-1,-5.1663794E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.2573483E1,1.6422234E1,1.615125E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[9.2301434E-1,-4.8820086E-2,1.3909082E0,2.1626403E0,-3.6976656E-1,2.2470978E-1,5.763944E-2,1.8870944E-2,-4.7591884E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":21,"left_children":[1,-1,3,5,7,-1,-1,-1,-1],"loss_changes":[2.279093E1,0E0,3.5324833E1,1.0910568E0,5.994842E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4],"right_children":[2,-1,4,6,8,-1,-1,-1,-1],"split_conditions":[3E0,-4.8820086E-2,1.8E0,5E0,5E0,2.2470978E-1,5.763944E-2,1.8870944E-2,-4.7591884E-2],"split_indices":[2,0,3,2,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.2487694E1,8.078556E0,2.440914E1,1.6811907E1,7.5972323E0,1.5566478E1,1.2454284E0,1.0891895E0,6.508043E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[9.2978615E-1,-4.551479E-1,2.1511948E0,-5.107355E-2,-2.3093836E-3,6.053595E-2,2.2205643E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0],"id":22,"left_children":[1,3,5,-1,-1,-1,-1],"loss_changes":[5.7407608E1,3.834796E-1,5.752945E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2],"right_children":[2,4,6,-1,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,4.9E0,-5.107355E-2,-2.3093836E-3,6.053595E-2,2.2205643E-1],"split_indices":[2,3,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0],"sum_hessian":[3.2358643E1,1.5458207E1,1.6900434E1,1.3534734E1,1.9234735E0,1.1435734E0,1.5756862E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"7","size_leaf_vector":"1"}},{"base_weights":[-5.2662426E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":23,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.266243E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.4149118E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2662426E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":24,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.266243E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.4149118E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2662426E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":25,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.266243E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.4149118E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2662426E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":26,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.266243E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.4149118E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2662426E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":27,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.266243E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.4149118E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2662426E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":28,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.266243E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.4149118E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2662426E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":29,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.266243E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.4149118E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[8.155754E-1,1.8502249E-1,-5.1191427E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":30,"left_children":[1,-1,-1],"loss_changes":[4.950379E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,1.8502249E-1,-5.1191427E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.435283E1,1.908452E1,1.5268309E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[8.219357E-1,-4.8234582E-2,1.1996063E0,1.7755054E0,-3.6105525E-1,1.8311796E-1,5.4449648E-2,1.8043518E-2,-4.6997346E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":31,"left_children":[1,-1,3,5,7,-1,-1,-1,-1],"loss_changes":[1.7970413E1,0E0,2.55066E1,3.9951324E-1,5.736215E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4],"right_children":[2,-1,4,6,8,-1,-1,-1,-1],"split_conditions":[3E0,-4.8234582E-2,1.8E0,5E0,5E0,1.8311796E-1,5.4449648E-2,1.8043518E-2,-4.6997346E-2],"split_indices":[2,0,3,2,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.4306915E1,7.6411433E0,2.6665773E1,1.9377592E1,7.288181E0,1.8072687E1,1.3049045E0,1.1105304E0,6.1776505E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[8.265303E-1,-4.47738E-1,1.7579228E0,-5.0568778E-2,-1.7067677E-3,7.5345355E-1,1.8493168E-1,9.963217E-3,1.1072838E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":32,"left_children":[1,3,5,-1,-1,7,-1,-1,-1],"loss_changes":[4.2612106E1,3.8265276E-1,4.9429703E-1,0E0,0E0,6.7680335E-1,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2,5,5],"right_children":[2,4,6,-1,-1,8,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,1.8E0,-5.0568778E-2,-1.7067677E-3,5.1E0,1.8493168E-1,9.963217E-3,1.1072838E-1],"split_indices":[2,3,3,0,0,2,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.424054E1,1.4678156E1,1.9562382E1,1.2783814E1,1.8943418E0,2.4024303E0,1.7159952E1,1.2936167E0,1.1088138E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[-5.2225983E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":33,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.2225985E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.2792286E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2225983E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":34,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.2225985E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.2792286E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2225983E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":35,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.2225985E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.2792286E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2225983E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":36,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.2225985E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.2792286E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2225983E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":37,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.2225985E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.2792286E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2225983E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":38,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.2225985E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.2792286E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.2225983E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":39,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.2225985E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.2792286E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[7.3675674E-1,1.5681933E-1,-5.072493E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":40,"left_children":[1,-1,-1],"loss_changes":[3.864136E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,1.5681933E-1,-5.072493E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.559041E1,2.1176447E1,1.4413962E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[7.422175E-1,-4.7642674E-2,1.0572474E0,1.5094881E0,-3.5135219E-1,1.5516688E0,5.0373413E-2,1.883494E-2,-4.655312E-2,1.5917678E-1,5.0308313E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0,0,0],"id":41,"left_children":[1,-1,3,5,7,9,-1,-1,-1,-1,-1],"loss_changes":[1.4568802E1,0E0,1.9272755E1,1.7120743E-1,5.7829404E-1,8.536911E-2,0E0,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4,5,5],"right_children":[2,-1,4,6,8,10,-1,-1,-1,-1,-1],"split_conditions":[3E0,-4.7642674E-2,1.8E0,5E0,6E0,1.6E0,5.0373413E-2,1.883494E-2,-4.655312E-2,1.5917678E-1,5.0308313E-2],"split_indices":[2,0,3,2,0,3,0,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0,0,0],"sum_hessian":[3.5636513E1,7.2148128E0,2.8421701E1,2.1460148E1,6.9615536E0,2.0075407E1,1.3847404E0,1.102178E0,5.859376E0,1.8837046E1,1.2383621E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"11","size_leaf_vector":"1"}},{"base_weights":[7.4828994E-1,-4.401219E-1,1.4983398E0,-5.0063718E-2,-1.0596345E-3,7.2750336E-1,1.5820305E-1,8.8875726E-2,1.5096664E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":42,"left_children":[1,3,5,-1,-1,7,-1,-1,-1],"loss_changes":[3.3239914E1,3.8239646E-1,3.0931473E-1,0E0,0E0,2.4404454E-1,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2,5,5],"right_children":[2,4,6,-1,-1,8,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,5E0,-5.0063718E-2,-1.0596345E-3,6.3E0,1.5820305E-1,8.8875726E-2,1.5096664E-2],"split_indices":[2,3,2,0,0,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.555108E1,1.3915677E1,2.16354E1,1.2052112E1,1.8635653E0,3.0682197E0,1.8567183E1,1.9744365E0,1.093783E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[-5.179808E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":43,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1798083E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.1477749E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.179808E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":44,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1798083E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.1477749E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.179808E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":45,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1798083E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.1477749E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.179808E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":46,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1798083E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.1477749E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.179808E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":47,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1798083E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.1477749E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.179808E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":48,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1798083E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.1477749E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.179808E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":49,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1798083E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.1477749E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[6.7367613E-1,1.3676798E-1,-5.0261106E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":50,"left_children":[1,-1,-1],"loss_changes":[3.117336E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,1.3676798E-1,-5.0261106E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.634432E1,2.27558E1,1.3588519E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[6.795061E-1,-4.7041804E-2,9.4964707E-1,1.32213E0,-3.4196922E-1,1.3547733E-1,4.775451E-2,1.8594038E-2,-4.5959245E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":51,"left_children":[1,-1,3,5,7,-1,-1,-1,-1],"loss_changes":[1.2091707E1,0E0,1.5215765E1,1.537323E-2,5.613049E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4],"right_children":[2,-1,4,6,8,-1,-1,-1,-1],"split_conditions":[3E0,-4.7041804E-2,1.8E0,5E0,6E0,1.3547733E-1,4.775451E-2,1.8594038E-2,-4.5959245E-2],"split_indices":[2,0,3,2,0,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.648686E1,6.79991E0,2.9686947E1,2.3023647E1,6.663301E0,2.15853E1,1.4383459E0,1.1082964E0,5.5550046E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[6.84182E-1,-4.324239E-1,1.3080411E0,-4.9552083E-2,-7.057631E-4,6.097376E-1,1.3686371E-1,6.573548E-3,8.983444E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":52,"left_children":[1,3,5,-1,-1,7,-1,-1,-1],"loss_changes":[2.6664795E1,3.7711358E-1,1.9309998E-1,0E0,0E0,5.285373E-1,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2,5,5],"right_children":[2,4,6,-1,-1,8,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,1.8E0,-4.9552083E-2,-7.057631E-4,5.1E0,1.3686371E-1,6.573548E-3,8.983444E-2],"split_indices":[2,3,3,0,0,2,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.6466244E1,1.3181095E1,2.3285149E1,1.1334812E1,1.8462833E0,2.7425497E0,2.0542599E1,1.3762292E0,1.3663204E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[-5.1376057E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":53,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1376056E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.020617E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.1376057E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":54,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1376056E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.020617E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.1376057E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":55,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1376056E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.020617E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.1376057E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":56,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1376056E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.020617E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.1376057E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":57,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1376056E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.020617E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.1376057E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":58,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1376056E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.020617E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.1376057E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":59,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.1376056E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[2.020617E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[6.224132E-1,1.2181747E-1,-4.97945E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":60,"left_children":[1,-1,-1],"loss_changes":[2.5742424E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,1.2181747E-1,-4.97945E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.6658592E1,2.3875336E1,1.2783255E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[6.2690043E-1,-4.6430256E-2,8.627765E-1,1.1767662E0,-3.3149803E-1,1.20862104E-1,2.0502571E-2,1.9715728E-2,-4.5267604E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":61,"left_children":[1,-1,3,5,7,-1,-1,-1,-1],"loss_changes":[1.0171363E1,0E0,1.2226191E1,5.3265E-1,5.601728E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4],"right_children":[2,-1,4,6,8,-1,-1,-1,-1],"split_conditions":[3E0,-4.6430256E-2,1.8E0,5.1E0,5E0,1.20862104E-1,2.0502571E-2,1.9715728E-2,-4.5267604E-2],"split_indices":[2,0,3,2,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.696115E1,6.3973775E0,3.0563772E1,2.421263E1,6.351142E0,2.320807E1,1.004559E0,1.0674114E0,5.2837305E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[6.322218E-1,-4.2431915E-1,1.1651763E0,-4.90401E-2,-3.3909707E-6,3.695452E-2,1.19950555E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0],"id":62,"left_children":[1,3,5,-1,-1,-1,-1],"loss_changes":[2.1864801E1,3.7732196E-1,2.5305557E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2],"right_children":[2,4,6,-1,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,4.9E0,-4.90401E-2,-3.3909707E-6,3.695452E-2,1.19950555E-1],"split_indices":[2,3,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0],"sum_hessian":[3.6952133E1,1.2458318E1,2.4493814E1,1.0644606E1,1.8137118E0,1.4997494E0,2.2994064E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"7","size_leaf_vector":"1"}},{"base_weights":[-5.095637E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":63,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.095637E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.896981E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.095637E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":64,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.095637E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.896981E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.095637E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":65,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.095637E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.896981E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.095637E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":66,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.095637E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.896981E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.095637E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":67,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.095637E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.896981E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.095637E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":68,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.095637E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.896981E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.095637E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":69,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.095637E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.896981E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[5.800554E-1,1.1027656E-1,-4.9322795E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":70,"left_children":[1,-1,-1],"loss_changes":[2.1631315E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,1.1027656E-1,-4.9322795E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.6587868E1,2.4586357E1,1.200151E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[5.832055E-1,-4.5806643E-2,7.925687E-1,1.0646194E0,-3.2146114E-1,1.0919911E0,1.9850964E-2,1.9979585E-2,-4.4797182E-2,4.5303937E-2,1.126122E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0,0,0],"id":71,"left_children":[1,-1,3,5,7,9,-1,-1,-1,-1,-1],"loss_changes":[8.664342E0,0E0,1.0061874E1,3.997879E-1,5.5524516E-1,3.4780502E-2,0E0,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4,5,5],"right_children":[2,-1,4,6,8,10,-1,-1,-1,-1,-1],"split_conditions":[3E0,-4.5806643E-2,1.8E0,5.1E0,6E0,5.1E0,1.9850964E-2,1.9979585E-2,-4.4797182E-2,4.5303937E-2,1.126122E-1],"split_indices":[2,0,3,2,0,0,0,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0,0,0],"sum_hessian":[3.7078632E1,6.0083046E0,3.1070326E1,2.5007694E1,6.062631E0,2.398878E1,1.0189158E0,1.0709124E0,4.991719E0,1.9402218E0,2.2048557E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"11","size_leaf_vector":"1"}},{"base_weights":[5.870637E-1,-4.159111E-1,1.0494994E0,5.9858523E-4,-4.8660018E-2,4.9261746E-1,1.1010305E-1,2.9462182E-3,7.452645E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0],"id":72,"left_children":[1,3,5,-1,-1,7,-1,-1,-1],"loss_changes":[1.8134365E1,3.8338375E-1,2.1520805E-1,0E0,0E0,4.5144945E-1,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2,5,5],"right_children":[2,4,6,-1,-1,8,-1,-1,-1],"split_conditions":[4.8E0,2.6E0,1.8E0,5.9858523E-4,-4.8660018E-2,5.1E0,1.1010305E-1,2.9462182E-3,7.452645E-2],"split_indices":[2,1,3,0,0,2,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0],"sum_hessian":[3.715747E1,1.1757431E1,2.540004E1,1.8186158E0,9.938816E0,3.045698E0,2.2354342E1,1.4691148E0,1.576583E0],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"9","size_leaf_vector":"1"}},{"base_weights":[-5.0537115E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":73,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0537117E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.7773071E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0537115E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":74,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0537117E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.7773071E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0537115E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":75,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0537117E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.7773071E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0537115E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":76,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0537117E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.7773071E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0537115E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":77,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0537117E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.7773071E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0537115E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":78,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0537117E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.7773071E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0537115E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":79,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0537117E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.7773071E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[5.442863E-1,1.01133876E-1,-4.88531E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":80,"left_children":[1,-1,-1],"loss_changes":[1.8436737E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,1.01133876E-1,-4.88531E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.6196148E1,2.4939157E1,1.12569895E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[5.464315E-1,-4.5169238E-2,7.347574E-1,9.7395986E-1,-3.1024265E-1,9.9858177E-1,1.8921383E-2,2.040126E-2,-4.403667E-2,4.20113E-2,1.0290902E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0,0,0],"id":81,"left_children":[1,-1,3,5,7,9,-1,-1,-1,-1,-1],"loss_changes":[7.4539967E0,0E0,8.364998E0,3.2287598E-1,5.4263604E-1,1.6801834E-2,0E0,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4,5,5],"right_children":[2,-1,4,6,8,10,-1,-1,-1,-1,-1],"split_conditions":[3E0,-4.5169238E-2,1.8E0,5.1E0,5E0,5.1E0,1.8921383E-2,2.040126E-2,-4.403667E-2,4.20113E-2,1.0290902E-1],"split_indices":[2,0,3,2,2,0,0,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0,0,0],"sum_hessian":[3.68891E1,5.6334505E0,3.125565E1,2.5489122E1,5.7665267E0,2.4449512E1,1.0396097E0,1.0498095E0,4.7167172E0,1.96483E0,2.2484682E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"11","size_leaf_vector":"1"}},{"base_weights":[5.5023783E-1,-4.0724576E-1,9.6008974E-1,-4.805208E-2,2.7064322E-3,2.955181E-2,9.902268E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0],"id":82,"left_children":[1,3,5,-1,-1,-1,-1],"loss_changes":[1.5302009E1,3.9780784E-1,2.4623871E-1,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2],"right_children":[2,4,6,-1,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,4.9E0,-4.805208E-2,2.7064322E-3,2.955181E-2,9.902268E-2],"split_indices":[2,3,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0],"sum_hessian":[3.6996967E1,1.1091561E1,2.5905407E1,9.399342E0,1.692219E0,1.5925621E0,2.4312845E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"7","size_leaf_vector":"1"}},{"base_weights":[-5.0121933E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":83,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0121933E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.6630297E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0121933E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":84,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0121933E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.6630297E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0121933E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":85,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0121933E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.6630297E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0121933E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":86,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0121933E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.6630297E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0121933E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":87,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0121933E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.6630297E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0121933E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":88,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0121933E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.6630297E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-5.0121933E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":89,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-5.0121933E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.6630297E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[5.138694E-1,9.372836E-2,-4.8378326E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0],"id":90,"left_children":[1,-1,-1],"loss_changes":[1.5882741E1,0E0,0E0],"parents":[2147483647,0,0],"right_children":[2,-1,-1],"split_conditions":[3E0,9.372836E-2,-4.8378326E-2],"split_indices":[2,0,0],"split_type":[0,0,0],"sum_hessian":[3.5525948E1,2.498329E1,1.0542658E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"3","size_leaf_vector":"1"}},{"base_weights":[5.1563305E-1,-4.4517893E-2,6.8707687E-1,9.0173537E-1,-2.9958895E-1,9.23956E-1,1.8441962E-2,2.14411E-2,-4.3596316E-2,3.8829423E-2,9.524548E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0,0,0],"id":91,"left_children":[1,-1,3,5,7,9,-1,-1,-1,-1,-1],"loss_changes":[6.4714203E0,0E0,7.080453E0,2.5452423E-1,5.4883707E-1,2.109909E-2,0E0,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,2,2,3,3,4,4,5,5],"right_children":[2,-1,4,6,8,10,-1,-1,-1,-1,-1],"split_conditions":[3E0,-4.4517893E-2,1.8E0,5.1E0,6E0,5.1E0,1.8441962E-2,2.14411E-2,-4.3596316E-2,3.8829423E-2,9.524548E-2],"split_indices":[2,0,3,2,0,0,0,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0,0,0],"sum_hessian":[3.642927E1,5.274285E0,3.1154985E1,2.5658758E1,5.4962277E0,2.460838E1,1.0503787E0,1.0324935E0,4.4637346E0,1.9818867E0,2.2626493E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"11","size_leaf_vector":"1"}},{"base_weights":[5.1718664E-1,-3.9833513E-1,8.836423E-1,-4.7523998E-2,3.3983071E-3,4.0598193E-1,9.319247E-1,5.935588E-4,6.263664E-2,3.3714943E-2,9.5479615E-2],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0,0,0,0,0,0,0,0,0,0,0],"id":92,"left_children":[1,3,5,-1,-1,7,9,-1,-1,-1,-1],"loss_changes":[1.2979768E1,3.9678013E-1,2.4873734E-1,0E0,0E0,3.7256956E-1,3.5152435E-3,0E0,0E0,0E0,0E0],"parents":[2147483647,0,0,1,1,2,2,5,5,6,6],"right_children":[2,4,6,-1,-1,8,10,-1,-1,-1,-1],"split_conditions":[4.8E0,1.5E0,1.8E0,-4.7523998E-2,3.3983071E-3,5.1E0,4.9E0,5.935588E-4,6.263664E-2,3.3714943E-2,9.5479615E-2],"split_indices":[2,3,3,0,0,2,2,0,0,0,0],"split_type":[0,0,0,0,0,0,0,0,0,0,0],"sum_hessian":[3.66389E1,1.0448432E1,2.619047E1,8.7861805E0,1.6622512E0,3.2680392E0,2.292243E1,1.5256258E0,1.7424135E0,1.4317081E0,2.1490723E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"11","size_leaf_vector":"1"}},{"base_weights":[-4.9706298E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":93,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-4.97063E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.5535896E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-4.9706298E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":94,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-4.97063E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.5535896E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-4.9706298E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":95,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-4.97063E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.5535896E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-4.9706298E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":96,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-4.97063E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.5535896E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-4.9706298E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":97,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-4.97063E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.5535896E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-4.9706298E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":98,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-4.97063E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.5535896E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}},{"base_weights":[-4.9706298E-1],"categories":[],"categories_nodes":[],"categories_segments":[],"categories_sizes":[],"default_left":[0],"id":99,"left_children":[-1],"loss_changes":[0E0],"parents":[2147483647],"right_children":[-1],"split_conditions":[-4.97063E-2],"split_indices":[0],"split_type":[0],"sum_hessian":[1.5535896E1],"tree_param":{"num_deleted":"0","num_feature":"4","num_nodes":"1","size_leaf_vector":"1"}}]},"name":"gbtree"},"learner_model_param":{"base_score":"5E-1","boost_from_average":"1","num_class":"10","num_feature":"4","num_target":"1"},"objective":{"name":"multi:softmax","softmax_multiclass_param":{"num_class":"10"}}},"version":[2,1,1]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we be checking in these files?
This PR addresses two things
.json
file format of XGBoost models and raises a deprecation warning for those still using.bst
.3.11
.Which issue(s) this PR fixes:
3.8
which will reach end of life on October 2024.=
sign rather than a space. For exampleENV TINI_VERSION v0.16.1
is nowENV TINI_VERSION=v0.16.1
.