Recursively prints the structure of an SVM-based decision tree.
print_svm_tree(
tree,
indent = "",
show_probabilities = FALSE,
show_feature_info = TRUE,
show_penalties = TRUE
)An object of class svmodt_node (leaf or tree).
String used for indentation (for recursive calls).
Logical; whether to display class probabilities at leaf nodes.
Logical; whether to show features used at nodes.
Logical; whether to show penalty flags at nodes.
Invisibly returns NULL. Prints to console.