.build_case_when_tree: Build case_when expression from nodes with predictions and paths
Description
Shared helper for building tree expressions used by ranger and randomForest
classification extractors.
Usage
.build_case_when_tree(nodes)
Arguments
- nodes
A list of lists, each with prediction (numeric) and path