...
Given multiple columns of numeric types and one column which has less than 3 distinct values (for labels) it will try to build multiple queries where each query will represent single label type.
Operator Usage in Easy Mode
- Click + on the parent node.
- Enter the Build Decision Tree operator in the search field and select the operator from the Results to open the operator form.
- In the Table drop-down, enter or select the table to create a model.
- In the Max Depth field, enter the maximum depth parameter to construct the decision tree.
- In the Impurity field, enter the threshold for a node to be counted as decided vs. undecided.
- Optional. In the Columns, click Add More to add an additional list of columns. The first column will be treated as label columns, the rest will be used as feature columns.
- Click Run to view the result.
- Click Save to add the operator to the playbook.
- Click Cancel to discard the operator form.
Usage Details
LQL Command
Code Block |
---|
buildDecisionTree(table: TableReference, maxDepth: Long, impurity: Double, columns:String*) |
...