This file describes the structure and parameters of the gate-tree of the model.
{
"gate_tree": {
"gate_type": "bern",
"hard_gate": true,
"nodes": [
{
"node_id": 1,
"node_type": "gate",
"gate_func": {
"aid": "dl1[1]",
"attr_name": "sepal_width_in_cm",
"threshold": 2.5499999999999998e+00,
"prob_left_smaller_than_threshold": 1.0000000000000000e+00
}
},
{
"node_id": 0,
"node_type": "gate",
"gate_func": {
"aid": "dl1[1]",
"attr_name": "sepal_width_in_cm",
"threshold": 3.7500000000000000e+00,
"prob_left_smaller_than_threshold": 1.0000000000000000e+00
}
},
...
{
"node_id": 2,
"node_type": "component",
"comp_id": 2
},
{
"node_id": 5,
"node_type": "component",
"comp_id": 12
},
...
],
"edges": [
{
"source": 1,
"target": 3,
"is_left": false
},
{
"source": 1,
"target": 2,
"is_left": true
},
...
]
}
}