Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

  1. Click + on the parent node.
  2. Enter the Build Decision Tree operator in the search field and select the operator from the Results to open the operator form.
  3. In the Table drop-down, enter or select the table to create a model.
  4. In the Max Depth field, enter the maximum depth parameter to construct the decision tree.
  5. In the Impurity field, enter the threshold for a node to be counted as decided vs. undecided.
  6. 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.
  7. Click Run to view the result.
  8. Click Save to add the operator to the playbook.
  9. Click Cancel to discard the operator form.

Usage Details

LQL Command

Code Block
buildDecisionTree(table: TableReference, maxDepth: Long, impurity: Double, columns:String*)

...