Skip to content

Party extract BinaryTree from cforest?

2 messages · Chris

#
I found an internal workaround to this to support printing and plot type simple,

tt<-party:::prettytree(cf at ensemble[[1]], names(cf at data at get("input")))
Error in terminal_panel(<S4 object of class "BinaryTree">) :
  ?ctreeobj? is not a regression tree
Any additional help is appreciated.