ctree plot decision tree in party package in R , terminal node occurs some weird numbers - issue? -



ctree plot decision tree in party package in R , terminal node occurs some weird numbers - issue? -

i came across odd.. , couldn't figured out why..

i utilize same code here below :

library(party) r_tree <- ctree(readingskills$nativespeaker ~ readingskills$age + readingskills$shoesize + readingskills$shoesize + readingskills$score,data = readingskills) plot(r_tree,type = "simple") r_tree

two week ago got normal graph .. today terminal nodes have odd numbers in them showing in image below.. have tried restarted pc , uninstalled packet , reinstall 1 time again , 1 time again , still not working.. wondering if see same issue , or have done wrong , or how can prepare ?

thanks

this bug caused bundle "partykit". if you'll reopen r start or do:

detach("package:partykit", unload=true) , run

library(party) r_tree <- ctree(readingskills$nativespeaker ~ readingskills$age + readingskills$shoesize + readingskills$shoesize + readingskills$score,data = readingskills) plot(r_tree,type = "simple")

you'll normal plot

but if you'll library "partykit" bundle 1 time again , rerun same code, you''ll nonsense plot again

library(partykit) r_tree <- ctree(readingskills$nativespeaker ~ readingskills$age + readingskills$shoesize + readingskills$shoesize + readingskills$score,data = readingskills) plot(r_tree,type = "simple")

r plot modeling decision-tree

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -