Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

What are the packages required to plot a fancy Rpart plot in R

$
0
0

@sid100158 wrote:

While learning about decision tree I came to know, we can plot a fancy plot of a decision tree.But I want to what packages required to plot a fancy decision tree.

my tree

library(rpart)
str(train)
str(test)

my_tree_two <- rpart(Survived ~ Pclass+Sex+Age+SibSp+Parch+Fare+Embarked,data=train,method="class")

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles