r - Can I manually create an RWeka decision (Recursive Partitioning) tree? -
i have constructed j48 decision tree using rweka. compare performance decision tree described existing (externally computed) decision tree. i'm new rweka , i'm having trouble manually creating rweka decision tree. ideally, show 2 side-by-side , plot them using rweka visualization (it informative , clean).
right now, i'm going export rweka computed decision tree graphviz , manipulate structure want. want check before start , make sure cant specify rules want manually specify decision tree.
i don't want compute decision tree (i've done that), want manually construct/specify decision tree (for uniform comparison in presentation).
thank in advanced.
the rweka
package cannot . however, rweka
uses partykit
package displaying trees can want. @ vignette(“partykit“, package = “partykit“)
how can construct recursive partynode
object pre-specified partysplit
s , turn them constparty
. vignette has hands-on example this.
Comments
Post a Comment