View Source API Reference EXGBoost v0.5.1

Modules

A Booster is the main object used for training and prediction. It is a wrapper around the underlying XGBoost C API. Booster have three main concepts for tracking associated data: parameters, attributes, and features. Parameters are used to configure the Booster and are from a set of valid options (such as tree_depth and eta -- refer to EXGBoost.Parameters for full list). Attributes are user-provided key-value pairs that are assigned to a Booster (such as best_iteration and best_score). Features are used to track the metadata associated with the features used in training (such as feature_names and feature_types).

Parameters are used to configure the training process and the booster.

Functions for plotting EXGBoost Booster models using Vega

horizon_light

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#FDF0ED","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#1A2026"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#1A2026"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#48B685"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#F43E5C"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#F43E5C"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#1A2026"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#1A2026"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#1A2026"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#1A2026"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#F7E3D3"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#F43E5C"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#1A2026"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

horizon_dark

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#1C1E26","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#E3E6EE"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#E3E6EE"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#48B685"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#F43E5C"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#F43E5C"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#E3E6EE"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#E3E6EE"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#E3E6EE"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#E3E6EE"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#232530"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#F43E5C"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#E3E6EE"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

gruvbox

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#282828","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#ebdbb2"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#ebdbb2"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#b8bb26"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#fb4934"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#b8bb26"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#ebdbb2"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#ebdbb2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#ebdbb2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#ebdbb2"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#3c3836"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#b8bb26"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#ebdbb2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

one_dark

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#282c34","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#abb2bf"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#abb2bf"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#98c379"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#e06c75"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#98c379"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#abb2bf"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#abb2bf"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#abb2bf"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#abb2bf"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#3b4048"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#98c379"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#abb2bf"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

material

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#263238","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#eceff1"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#eceff1"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#c5e1a5"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#ef9a9a"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#80cbc4"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#eceff1"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#eceff1"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#eceff1"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#eceff1"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#37474f"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#80cbc4"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#eceff1"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

nord

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#2e3440","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#d8dee9"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#d8dee9"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#a3be8c"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#bf616a"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#88c0d0"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#d8dee9"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#d8dee9"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#d8dee9"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#d8dee9"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#3b4252"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#88c0d0"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#d8dee9"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

dracula

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#282a36","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#f8f8f2"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#f8f8f2"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#50fa7b"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#ff5555"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#ff79c6"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#f8f8f2"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#f8f8f2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#f8f8f2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#f8f8f2"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#44475a"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#ff79c6"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#f8f8f2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

monokai

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#272822","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#f8f8f2"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#f8f8f2"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#a6e22e"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#f92672"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#66d9ef"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#f8f8f2"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#f8f8f2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#f8f8f2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#f8f8f2"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#3e3d32"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#66d9ef"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#f8f8f2"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

light

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#f0f0f0","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#bbb"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#000"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#000"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#ddd"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#000"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#000"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":10,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

high_contrast

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#000","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#666"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#fff"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#fff"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#333"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#fff"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#fff"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":10,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

dark

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#333","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#444"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#fff"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#fff"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#fff"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#fff"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#666"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#fff"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#fff"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":10,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

playful_dark

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#333","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#4caf50"},"strokeWidth":{"value":2},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#f44336"},"strokeWidth":{"value":2}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#4caf50"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#f44336"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#8bc34a"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"radius":{"value":10},"stroke":{"value":"#fff"},"strokeWidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#fff"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontStyle":{"value":"normal"},"fontWeight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#e91e63"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"radius":{"value":5},"stroke":{"value":"#fff"},"strokeWidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#fff"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontStyle":{"value":"italic"},"fontWeight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":10,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

playful_light

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#f0f0f0","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#4caf50"},"strokeWidth":{"value":2},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#f44336"},"strokeWidth":{"value":2}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#8bc34a"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"radius":{"value":10},"stroke":{"value":"#000"},"strokeWidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#000"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontStyle":{"value":"normal"},"fontWeight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#000"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontStyle":{"value":"normal"},"fontWeight":{"value":"bold"},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#e91e63"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"radius":{"value":5},"stroke":{"value":"#000"},"strokeWidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#000"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontStyle":{"value":"italic"},"fontWeight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":10,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

solarized_dark

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#002b36","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#657b83"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#657b83"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#859900"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#dc322f"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#586e75"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#657b83"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#839496"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#657b83"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#657b83"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#073642"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#586e75"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#839496"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

solarized_light

    
    {"$schema":"https://vega.github.io/schema/vega/v5.json","autosize":"fit","background":"#fdf6e3","data":[{"name":"tree","values":[{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":0,"yes":2},{"depth":null,"leaf":0.427624315,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":null,"leaf":-0.21861203,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":0,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":1,"yes":2},{"depth":null,"leaf":-0.213812172,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":1,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":1,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":1,"yes":10},{"depth":null,"leaf":0.421276599,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.128571421,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":0.0310344752,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":1,"yes":8},{"depth":null,"leaf":-7.66345476e-9,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":null,"leaf":-0.210638314,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":1,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":2,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":2,"yes":4},{"depth":null,"leaf":-0.218691617,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.179999992,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":null,"leaf":0.391304374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":2,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":3,"yes":2},{"depth":null,"leaf":0.293898225,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":null,"leaf":-0.195709914,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":3,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":4,"yes":2},{"depth":null,"leaf":-0.190234631,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":4,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":4,"yes":6},{"depth":null,"leaf":0.282141834,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":0.0305235293,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":4,"yes":8},{"depth":null,"leaf":0.0113703683,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":null,"leaf":-0.188464046,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":4,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":5,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":5,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.60000002,"tree_id":5,"yes":8},{"depth":null,"leaf":-0.194885567,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":-0.00233711768,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.0858411044,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":4.9000001,"tree_id":5,"yes":6},{"depth":null,"leaf":0.078266032,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":null,"leaf":0.295715213,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":5,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":6,"yes":2},{"depth":null,"leaf":0.235398397,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":null,"leaf":-0.180213198,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":6,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":7,"yes":2},{"depth":null,"leaf":-0.174046159,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":7,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":7,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":7,"yes":10},{"depth":null,"leaf":0.0794009417,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.235855803,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":0.0254845936,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":7,"yes":8},{"depth":null,"leaf":0.00953481626,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":null,"leaf":-0.171851099,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":7,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":8,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":8,"yes":4},{"depth":null,"leaf":-0.178984255,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.00731091993,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":8,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":8,"yes":8},{"depth":null,"leaf":0.122805104,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":-0.0581566244,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":8,"yes":10},{"depth":null,"leaf":0.0640309602,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":null,"leaf":0.235631004,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":8,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":9,"yes":2},{"depth":null,"leaf":0.202927306,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":null,"leaf":-0.169219166,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":9,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":10,"yes":2},{"depth":null,"leaf":-0.161958873,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":10,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":10,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":10,"yes":10},{"depth":null,"leaf":0.0595290773,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":10,"yes":12},{"depth":null,"leaf":0.0330740288,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":0.210039064,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.0136675909,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":10,"yes":8},{"depth":null,"leaf":0.00858953688,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":null,"leaf":-0.159253284,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":10,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":11,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":11,"yes":4},{"depth":null,"leaf":-0.167691931,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.013599243,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":11,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":11,"yes":8},{"depth":null,"leaf":0.111706354,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":-0.0548854023,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":11,"yes":10},{"depth":null,"leaf":0.0527966879,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":null,"leaf":0.202194899,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":11,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":12,"yes":2},{"depth":null,"leaf":0.182395548,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":null,"leaf":-0.160902798,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":12,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":13,"yes":2},{"depth":null,"leaf":-0.152229458,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":13,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":13,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f3","split_condition":1.60000002,"tree_id":13,"yes":10},{"depth":null,"leaf":0.182105944,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.0296379086,"missing":null,"no":null,"nodeid":11,"parentid":6,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":0.00951357931,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f0","split_condition":6,"tree_id":13,"yes":8},{"depth":null,"leaf":-0.00339872413,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":null,"leaf":-0.153260142,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":13,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":14,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":14,"yes":4},{"depth":null,"leaf":-0.159062892,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.0197537746,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":14,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":14,"yes":8},{"depth":null,"leaf":0.102480493,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":-0.0490195006,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":14,"yes":10},{"depth":null,"leaf":0.0437330343,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":null,"leaf":0.180924967,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":14,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":15,"yes":2},{"depth":null,"leaf":0.16810815,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":null,"leaf":-0.154098362,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":15,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":16,"yes":2},{"depth":null,"leaf":-0.143788517,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":16,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":16,"yes":6},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":6,"parentid":4,"split":"f0","split_condition":5.0999999,"tree_id":16,"yes":10},{"depth":null,"leaf":0.0220483318,"missing":null,"no":null,"nodeid":10,"parentid":6,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":4,"leaf":null,"missing":12,"no":13,"nodeid":11,"parentid":6,"split":"f1","split_condition":2.29999995,"tree_id":16,"yes":12},{"depth":null,"leaf":0.00895943958,"missing":null,"no":null,"nodeid":12,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":0.176665574,"missing":null,"no":null,"nodeid":13,"parentid":11,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.0206642058,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":4.9000001,"tree_id":16,"yes":8},{"depth":null,"leaf":0.017383676,"missing":null,"no":null,"nodeid":8,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":null,"leaf":-0.140686065,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":16,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":17,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":17,"yes":4},{"depth":null,"leaf":-0.151693538,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.0178305581,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":17,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":17,"yes":8},{"depth":null,"leaf":0.110296227,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":-0.0546041094,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.0999999,"tree_id":17,"yes":10},{"depth":null,"leaf":0.0373543724,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":null,"leaf":0.17702879,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":17,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":18,"yes":2},{"depth":null,"leaf":0.157291308,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":null,"leaf":-0.148284495,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":18,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":19,"yes":2},{"depth":null,"leaf":-0.13595058,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":19,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":19,"yes":6},{"depth":null,"leaf":0.161282361,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.0456363559,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":19,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":19,"yes":10},{"depth":null,"leaf":-0.12643297,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":0.0939816386,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":null,"leaf":-0.129954055,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":19,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":4.80000019,"tree_id":20,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f3","split_condition":1.60000002,"tree_id":20,"yes":4},{"depth":null,"leaf":-0.14539367,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.0229678843,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.79999995,"tree_id":20,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.70000005,"tree_id":20,"yes":8},{"depth":null,"leaf":0.0849196538,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":-0.0489643775,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6,"tree_id":20,"yes":10},{"depth":3,"leaf":null,"missing":12,"no":13,"nodeid":10,"parentid":7,"split":"f2","split_condition":5.0999999,"tree_id":20,"yes":12},{"depth":null,"leaf":-0.0374543481,"missing":null,"no":null,"nodeid":12,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.09419626,"missing":null,"no":null,"nodeid":13,"parentid":10,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":null,"leaf":0.161539495,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":20,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":21,"yes":2},{"depth":null,"leaf":0.148412958,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":null,"leaf":-0.142748639,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":21,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":22,"yes":2},{"depth":null,"leaf":-0.128286615,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":22,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":22,"yes":6},{"depth":null,"leaf":0.152010709,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.0427916795,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f2","split_condition":5.0999999,"tree_id":22,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f1","split_condition":2.9000001,"tree_id":22,"yes":10},{"depth":null,"leaf":-0.118150115,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":0.0858531445,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":null,"leaf":-0.121662959,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":22,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":23,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":23,"yes":4},{"depth":null,"leaf":-0.143794015,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.0814001635,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.0999999,"tree_id":23,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f1","split_condition":2.9000001,"tree_id":23,"yes":8},{"depth":null,"leaf":0.141156599,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":-0.0439796187,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":null,"leaf":0.143892258,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":23,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":24,"yes":2},{"depth":null,"leaf":0.140514985,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":null,"leaf":-0.137244374,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":24,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":25,"yes":2},{"depth":null,"leaf":-0.120564461,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f3","split_condition":1.70000005,"tree_id":25,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f2","split_condition":5,"tree_id":25,"yes":6},{"depth":null,"leaf":0.142616123,"missing":null,"no":null,"nodeid":6,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":-0.0347704254,"missing":null,"no":null,"nodeid":7,"parentid":4,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":5,"parentid":3,"split":"f1","split_condition":3.20000005,"tree_id":25,"yes":8},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":8,"parentid":5,"split":"f0","split_condition":6.5999999,"tree_id":25,"yes":10},{"depth":null,"leaf":-0.136967599,"missing":null,"no":null,"nodeid":10,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.00531567633,"missing":null,"no":null,"nodeid":11,"parentid":8,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":null,"leaf":0.0164541826,"missing":null,"no":null,"nodeid":9,"parentid":5,"split":null,"split_condition":null,"tree_id":25,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.70000005,"tree_id":26,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f2","split_condition":5,"tree_id":26,"yes":4},{"depth":null,"leaf":-0.137371227,"missing":null,"no":null,"nodeid":4,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0680029839,"missing":null,"no":null,"nodeid":5,"parentid":2,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f1","split_condition":3.20000005,"tree_id":26,"yes":6},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":3,"split":"f0","split_condition":6.5999999,"tree_id":26,"yes":8},{"depth":null,"leaf":0.155390441,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0413417891,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":3,"split":"f0","split_condition":6.5,"tree_id":26,"yes":10},{"depth":null,"leaf":-0.0276773833,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":null,"leaf":0.0837894604,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":26,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":27,"yes":2},{"depth":null,"leaf":0.133121789,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":null,"leaf":-0.131964371,"missing":null,"no":null,"nodeid":3,"parentid":1,"split":null,"split_condition":null,"tree_id":27,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f2","split_condition":3,"tree_id":28,"yes":2},{"depth":null,"leaf":-0.112695776,"missing":null,"no":null,"nodeid":2,"parentid":1,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":3,"parentid":1,"split":"f2","split_condition":5.30000019,"tree_id":28,"yes":4},{"depth":2,"leaf":null,"missing":6,"no":7,"nodeid":4,"parentid":3,"split":"f3","split_condition":1.70000005,"tree_id":28,"yes":6},{"depth":3,"leaf":null,"missing":8,"no":9,"nodeid":6,"parentid":4,"split":"f2","split_condition":5,"tree_id":28,"yes":8},{"depth":null,"leaf":0.134010807,"missing":null,"no":null,"nodeid":8,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.00136732496,"missing":null,"no":null,"nodeid":9,"parentid":6,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":3,"leaf":null,"missing":10,"no":11,"nodeid":7,"parentid":4,"split":"f1","split_condition":2.9000001,"tree_id":28,"yes":10},{"depth":null,"leaf":-0.101361156,"missing":null,"no":null,"nodeid":10,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":0.0597268902,"missing":null,"no":null,"nodeid":11,"parentid":7,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":null,"leaf":-0.112027228,"missing":null,"no":null,"nodeid":5,"parentid":3,"split":null,"split_condition":null,"tree_id":28,"yes":null},{"depth":0,"leaf":null,"missing":2,"no":3,"nodeid":1,"parentid":null,"split":"f3","split_condition":1.79999995,"tree_id":29,"yes":2},{"depth":1,"leaf":null,"missing":4,"no":5,"nodeid":2,"parentid":1,"split":"f1","split_condition":2.70000005,"tree_id":29,"yes":4},{"depth":2,"leaf":null,"missing":8,"no":9,"nodeid":4,"parentid":2,"split":"f3","split_condition":1.5,"tree_id":29,"yes":8},{"depth":null,"leaf":-0.0157809388,"missing":null,"no":null,"nodeid":8,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.0803615674,"missing":null,"no":null,"nodeid":9,"parentid":4,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":2,"leaf":null,"missing":10,"no":11,"nodeid":5,"parentid":2,"split":"f0","split_condition":6.30000019,"tree_id":29,"yes":10},{"depth":null,"leaf":-0.139912695,"missing":null,"no":null,"nodeid":10,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":-0.0307020787,"missing":null,"no":null,"nodeid":11,"parentid":5,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":1,"leaf":null,"missing":6,"no":7,"nodeid":3,"parentid":1,"split":"f0","split_condition":6,"tree_id":29,"yes":6},{"depth":null,"leaf":-0.00209752563,"missing":null,"no":null,"nodeid":6,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null},{"depth":null,"leaf":0.138928756,"missing":null,"no":null,"nodeid":7,"parentid":3,"split":null,"split_condition":null,"tree_id":29,"yes":null}]},{"name":"treeCalcs","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","separation":{"signal":"false"},"type":"tree"}]},{"name":"treeChildren","source":"treeCalcs","transform":[{"as":["childrenObjects"],"fields":["parentid"],"groupby":["parentid"],"ops":["values"],"type":"aggregate"},{"as":"childrenIds","expr":"pluck(datum.childrenObjects,'nodeid')","type":"formula"}]},{"name":"treeAncestors","source":"treeCalcs","transform":[{"as":"treeAncestors","expr":"treeAncestors('treeCalcs', datum.nodeid, 'root')","type":"formula"},{"fields":["treeAncestors"],"type":"flatten"},{"as":"allParents","expr":"datum.treeAncestors.parentid","type":"formula"}]},{"name":"treeChildrenAll","source":"treeAncestors","transform":[{"fields":["allParents","nodeid","name","parentid","x","y","depth","children"],"type":"project"},{"as":["allChildrenObjects","allChildrenCount","id"],"fields":["parentid","parentid","nodeid"],"groupby":["allParents"],"ops":["values","count","min"],"type":"aggregate"},{"as":"allChildrenIds","expr":"pluck(datum.allChildrenObjects,'nodeid')","type":"formula"}]},{"name":"treeClickStoreTemp","source":"treeAncestors","transform":[{"expr":"startingDepth != -1 ? datum.depth <= startingDepth : node != 0 && !isExpanded ? datum.parentid == node: node != 0 && isExpanded ? datum.allParents == node : false","type":"filter"},{"fields":["nodeid","parentid","x","y","depth","children"],"type":"project"},{"fields":["nodeid"],"groupby":["nodeid","parentid","x","y","depth","children"],"ops":["min"],"type":"aggregate"}]},{"name":"treeClickStorePerm","on":[{"insert":"data('treeClickStoreTemp')","trigger":"startingDepth >= 0"},{"insert":"!isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"},{"remove":"isExpanded ? data('treeClickStoreTemp'): false","trigger":"node"}],"values":[]},{"name":"treeLayout","source":"tree","transform":[{"expr":"datum.tree_id === selectedTree","type":"filter"},{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid)","type":"filter"},{"key":"nodeid","parentKey":"parentid","type":"stratify"},{"as":["x","y","depth","children"],"method":"tidy","nodeSize":[{"signal":"nodeWidth + spaceBetweenNodes"},{"signal":"nodeHeight+ spaceBetweenLevels"}],"separation":{"signal":"false"},"type":"tree"},{"as":"y","expr":"1*(datum.y+(height/10))","type":"formula"},{"as":"x","expr":"1*(datum.x+(width/2))","type":"formula"},{"field":"x","signal":"x_extent","type":"extent"},{"field":"y","signal":"y_extent","type":"extent"},{"as":"xscaled","expr":"scale('xscale',datum.x)","type":"formula"},{"as":"parent","expr":"datum.parentid","type":"formula"}]},{"name":"fullTreeLayout","source":"treeLayout","transform":[{"fields":["nodeid"],"from":"treeChildren","key":"parentid","type":"lookup","values":["childrenObjects","childrenIds"]},{"fields":["nodeid"],"from":"treeChildrenAll","key":"allParents","type":"lookup","values":["allChildrenIds","allChildrenObjects"]},{"fields":["nodeid"],"from":"treeCalcs","key":"nodeid","type":"lookup","values":["children"]},{"as":"treeParent","expr":"reverse(pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid'))[1]","type":"formula"},{"as":"isLeaf","expr":"datum.leaf == null","type":"formula"}]},{"name":"splitNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && datum.isLeaf","type":"filter"}]},{"name":"leafNodes","source":"fullTreeLayout","transform":[{"expr":"indata('treeClickStorePerm', 'nodeid', datum.nodeid) && !datum.isLeaf","type":"filter"}]},{"name":"links","source":"treeLayout","transform":[{"type":"treelinks"},{"orient":"vertical","shape":"line","sourceX":{"expr":"scale('xscale', datum.source.x)"},"sourceY":{"expr":"scale('yscale', datum.source.y)"},"targetX":{"expr":"scale('xscale', datum.target.x)"},"targetY":{"expr":"scale('yscale', datum.target.y) - scaledNodeHeight"},"type":"linkpath"},{"expr":" indata('treeClickStorePerm', 'nodeid', datum.target.nodeid)","type":"filter"}]},{"name":"yesPaths","source":"links","transform":[{"expr":"datum.source.yes === datum.target.nodeid ","type":"filter"}]},{"name":"noPaths","source":"links","transform":[{"expr":"datum.source.yes !== datum.target.nodeid ","type":"filter"}]}],"height":200,"marks":[{"encode":{"stroke":{"value":"#657b83"},"strokewidth":{"value":1},"update":{"path":{"field":"path"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"}}},"from":{"data":"yesPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"path":{"field":"path"},"stroke":{"value":"#657b83"},"strokeWidth":{"signal":"indexof(nodeHighlight, datum.target.nodeid)> -1? 2:1"},"strokewidth":{"value":1}}},"from":{"data":"noPaths"},"interactive":false,"type":"path"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#859900"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"yes"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"yesPaths"},"type":"text"},{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#dc322f"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"text":{"value":"no"},"x":{"signal":"(scale('xscale', datum.source.x-nodeWidth/4) + scale('xscale', datum.target.x)) / 2"},"y":{"signal":"(scale('yscale', datum.source.y) + scale('yscale', datum.target.y)) / 2 - (scaledNodeHeight/2)"}}},"from":{"data":"noPaths"},"type":"text"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#93a1a1"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#657b83"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"splitNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#586e75"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"bold"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"parent.split + ' <= ' + format(parent.split_condition, '.2f')"},"x":{"signal":"(scaledNodeWidth / 2)"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"},{"encode":{"update":{"align":{"value":"right"},"baseline":{"value":"middle"},"fill":{"value":"#657b83"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"stroke":{"value":"#657b83"},"strokewidth":{"value":1},"text":{"signal":"parent.children"},"x":{"signal":"item.mark.group.width - (9/ span(xdom))*width"},"y":{"signal":"item.mark.group.height/2"}}},"interactive":false,"type":"text"}],"name":"splitNode","type":"group"},{"clip":false,"encode":{"update":{"cornerRadius":{"value":2},"cursor":{"signal":"datum.children > 0 ? 'pointer' : '' "},"fill":{"value":"#eee8d5"},"height":{"signal":"scaledNodeHeight"},"opacity":{"value":1},"stroke":{"value":"#93a1a1"},"strokewidth":{"value":1},"tooltip":{"signal":""},"width":{"signal":"scaledNodeWidth"},"x":{"signal":"datum.xscaled - (scaledNodeWidth / 2)"},"yc":{"signal":"scale('yscale',datum.y) - (scaledNodeHeight/2)"}}},"from":{"data":"leafNodes"},"marks":[{"encode":{"update":{"align":{"value":"center"},"baseline":{"value":"middle"},"fill":{"value":"#586e75"},"font":{"value":"Calibri"},"fontSize":{"signal":"(13/ span(xdom))*width"},"fontsize":{"value":12},"fontstyle":{"value":"normal"},"fontweight":{"value":"normal"},"limit":{"signal":"scaledNodeWidth-scaledLimit"},"text":{"signal":"'leaf = ' + format(parent.leaf, '.2f')"},"x":{"signal":"scaledNodeWidth / 2"},"y":{"signal":"scaledNodeHeight / 2"}}},"interactive":false,"name":"title","type":"text"}],"name":"leafNode","type":"group"}],"padding":30,"scales":[{"domain":{"signal":"xdom"},"name":"xscale","range":{"signal":"xrange"},"zero":false},{"domain":{"signal":"ydom"},"name":"yscale","range":{"signal":"yrange"},"zero":false}],"signals":[{"name":"selectedTree","value":0},{"name":"node","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.nodeid"}],"value":0},{"name":"nodeHighlight","on":[{"events":[{"markname":"splitNode","type":"mouseover"},{"markname":"leafNode","type":"mouseover"}],"update":"pluck(treeAncestors('treeCalcs', datum.nodeid), 'nodeid')"},{"events":{"type":"mouseout"},"update":"[0]"}],"value":"[0]"},{"name":"isExpanded","on":[{"events":{"markname":"splitNode","type":"click"},"update":"datum.children > 0 && indata('treeClickStorePerm', 'nodeid', datum.childrenIds[0]) ? true : false"}],"value":0},{"name":"xrange","update":"[0, width]"},{"name":"yrange","update":"[0, height]"},{"name":"down","on":[{"events":"mousedown","update":"xy()"}],"value":null},{"name":"xcur","on":[{"events":"mousedown","update":"slice(xdom)"}],"value":null},{"name":"ycur","on":[{"events":"mousedown","update":"slice(ydom)"}],"value":null},{"name":"delta","on":[{"events":[{"between":[{"type":"mousedown"},{"source":"window","type":"mouseup"}],"consume":true,"source":"window","type":"mousemove"}],"update":"down ? [down[0]-x(), down[1]-y()] : [0,0]"}],"value":[0,0]},{"name":"anchor","on":[{"events":"wheel","update":"[invert('xscale', x()), invert('yscale', y())]"}],"value":[0,0]},{"name":"xext","update":"[0,width]"},{"name":"yext","update":"[0,height]"},{"name":"zoom","on":[{"events":"wheel!","force":true,"update":"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}],"value":1},{"name":"xdom","on":[{"events":{"signal":"delta"},"update":"[xcur[0] + span(xcur) * delta[0] / width, xcur[1] + span(xcur) * delta[0] / width]"},{"events":{"signal":"zoom"},"update":"[anchor[0] + (xdom[0] - anchor[0]) * zoom, anchor[0] + (xdom[1] - anchor[0]) * zoom]"}],"update":"[x_extent[0] - nodeWidth/ 2, x_extent[1] + nodeWidth / 2]"},{"name":"ydom","on":[{"events":{"signal":"delta"},"update":"[ycur[0] + span(ycur) * delta[1] / height, ycur[1] + span(ycur) * delta[1] / height]"},{"events":{"signal":"zoom"},"update":"[anchor[1] + (ydom[0] - anchor[1]) * zoom, anchor[1] + (ydom[1] - anchor[1]) * zoom]"}],"update":"[y_extent[0] - nodeHeight, y_extent[1] + nodeHeight/3]"},{"name":"scaledNodeWidth","update":"(nodeWidth/ span(xdom))*width"},{"name":"scaledNodeHeight","update":"abs(nodeHeight/ span(ydom))*height"},{"name":"scaledLimit","update":"(20/ span(xdom))*width"},{"name":"spaceBetweenLevels","value":100},{"name":"spaceBetweenNodes","value":10},{"name":"nodeWidth","value":100},{"name":"nodeHeight","value":45},{"name":"startingDepth","on":[{"events":{"throttle":0,"type":"timer"},"update":"-1"}],"value":4}],"width":300}
    
  

Callbacks are a mechanism to hook into the training process and perform custom actions.