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

Printing the tree after applying decison tree algo for classification in sklearn

$
0
0

@ravi_6767 wrote:

Hi all,
After applying decision tree for the classification using following code :
from sklearn
clf_tree=tree.DecisionTreeClassifier()
clf_tree.fit(train_x,label_x)

I want to print the tree to see how the classification is happening. Please help.
Thanks

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles