This file describes the structure and parameters of the gate-tree of the model.

{
    "gate_tree": {
        "gate_type": "logit",
        "hard_gate": true,
        "nodes": [
            {
                "node_id": 11,
                "node_type": "gate",
                "gate_func": {
                    "weights": [
                        {
                            "aid": "std1[4]",
                            "attr_name": "std1_RM",
                            "weight": -3.6682658685673992e+00
                        },
                        {
                            "aid": "std1[7]",
                            "attr_name": "std1_TAX",
                            "weight": -5.8122016705226542e+00
                        },
                        {
                            "aid": "std1[10]",
                            "attr_name": "std1_LSTAT",
                            "weight": 1.0537643144910271e+01
                        }
                    ],
                    "bias": 1.2740926133353371e+01
                }
            },
            {
                "node_id": 10,
                "node_type": "gate",
                "gate_func": {
                    "weights": [
                        {
                            "aid": "std1[2]",
                            "attr_name": "std1_INDUS",
                            "weight": 7.6493213521271874e-01
                        },
                        {
                            "aid": "std1[4]",
                            "attr_name": "std1_RM",
                            "weight": 2.5021103534594329e+00
                        },
                        {
                            "aid": "std1[10]",
                            "attr_name": "std1_LSTAT",
                            "weight": -2.8529074313420657e+00
                        }
                    ],
                    "bias": -2.3621841358789547e-01
                }
            },

            ...

            {
                "node_id": 13,
                "node_type": "component",
                "comp_id": 13
            },
            {
                "node_id": 12,
                "node_type": "component",
                "comp_id": 12
            },

            ...

        ],
        "edges": [
            {
                "source": 11,
                "target": 13,
                "is_left": false
            },
            {
                "source": 11,
                "target": 12,
                "is_left": true
            },

            ...

        ]
    }
}