Skip to content Skip to sidebar Skip to footer
Showing posts with the label Decision Tree

Prune Unnecessary Leaves In Sklearn Decisiontreeclassifier

I use sklearn.tree.DecisionTreeClassifier to build a decision tree. With the optimal parameter sett… Read more Prune Unnecessary Leaves In Sklearn Decisiontreeclassifier

Changing Colors For Decision Tree Plot Created Using Export Graphviz

I am using scikit's regression tree function and graphviz to generate the wonderful, easy to in… Read more Changing Colors For Decision Tree Plot Created Using Export Graphviz

Visualizing Decision Tree Not Using Graphviz/web

Due to some restriction I cannot use graphviz , webgraphviz.com to visualize decision tree (work n… Read more Visualizing Decision Tree Not Using Graphviz/web

How To Graph A Tree With Graphviz?

I can't reproduce a simple example. Here is how it goes: import pandas as pd import numpy as np… Read more How To Graph A Tree With Graphviz?