The input table to the AMLGenerator, glass_attribute_table_output, is an output of the single decision tree function (single_tree_drive) in this example.
node_id | node_size | node_label | left_id | left_size | right_id | right_size | attribute |
---|---|---|---|---|---|---|---|
0 | 100 | 2 | 1 | 32 | 2 | 68 | Mg |
1 | 32 | 2 | 3 | 11 | 4 | 21 | Na |
2 | 68 | 1 | 5 | 28 | 6 | 40 | Ca |
3 | 11 | 2 | 7 | 10 | 8 | 1 | Fe |
4 | 21 | 7 | 9 | 14 | 10 | 7 | K |
5 | 28 | 2 | 11 | 4 | 12 | 24 | Al |
6 | 40 | 1 | 13 | 29 | 14 | 11 | Na |