Tuesday, 24 September 2019

DT - R

install.packages("party") 

library(party)

input= readingSkills[c(1:105),]

output = ctree(
  nativeSpeaker ~ age + shoeSize + score,
  data = input)

plot(output)

No comments:

Post a Comment