Is there any way to convert rules generated to a tree in sklearn?
1 VIEWES0 LIKES0 DISLIKESSHARE
0 LIKES0 DISLIKES 1 VIEWESSHARE
I generated a decision tree which is in if else form. Is there any way to convert it into a tree form in sklearn so that i could use various other functions like accuracyscore() on the tree?