Skip to content

Commit d8944c5

Browse files
committed
Updated decision tree cart
1 parent 61f4885 commit d8944c5

28 files changed

+5379
-0
lines changed

.DS_Store

2 KB
Binary file not shown.

Sklearn/.DS_Store

2 KB
Binary file not shown.

Sklearn/CART/.DS_Store

12 KB
Binary file not shown.

Sklearn/CART/Dt_Classification/.ipynb_checkpoints/ClassificationTreeAnatomy-checkpoint.ipynb

Lines changed: 1182 additions & 0 deletions
Large diffs are not rendered by default.

Sklearn/CART/Dt_Classification/.ipynb_checkpoints/EntropyGiniCalculations-checkpoint.ipynb

Lines changed: 905 additions & 0 deletions
Large diffs are not rendered by default.

Sklearn/CART/Dt_Classification/ClassificationTreeAnatomy.ipynb

Lines changed: 1182 additions & 0 deletions
Large diffs are not rendered by default.

Sklearn/CART/Dt_Classification/ClassificationTreesUsingPython.ipynb

Lines changed: 1182 additions & 0 deletions
Large diffs are not rendered by default.

Sklearn/CART/Dt_Classification/EntropyGiniCalculations.ipynb

Lines changed: 896 additions & 0 deletions
Large diffs are not rendered by default.

Sklearn/CART/dotfiles/.DS_Store

6 KB
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
digraph Tree {
2+
node [shape=box] ;
3+
0 [label="petal length (cm) <= 2.45\nentropy = 1.582\nsamples = 112\nvalue = [38, 40, 34]\nclass = versicolor"] ;
4+
1 [label="entropy = 0.0\nsamples = 38\nvalue = [38, 0, 0]\nclass = setosa"] ;
5+
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
6+
2 [label="entropy = 0.995\nsamples = 74\nvalue = [0, 40, 34]\nclass = versicolor"] ;
7+
0 -> 2 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
8+
}

0 commit comments

Comments
 (0)