Skip to content

Commit e7e41cf

Browse files
committed
Updated decision tree tutorial (mostly on the blog) to be readable for students
1 parent 6ec587d commit e7e41cf

File tree

9 files changed

+9
-2
lines changed

9 files changed

+9
-2
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Sklearn/.DS_Store

0 Bytes
Binary file not shown.

Sklearn/DecisionTrees/.DS_Store

0 Bytes
Binary file not shown.

Sklearn/DecisionTrees/EntropyGiniCalculations.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,14 @@
7373
"cell_type": "markdown",
7474
"metadata": {},
7575
"source": [
76-
"$$\\huge IG(D_P,f)=I(D_p) - \\sum_{j=1}^{m}\\frac{N_j}{N}I(D_j)$$"
76+
"$$\\huge D_p$$"
77+
]
78+
},
79+
{
80+
"cell_type": "markdown",
81+
"metadata": {},
82+
"source": [
83+
"$$\\huge IG(D_p,f)=I(D_p) - \\sum_{j=1}^{m}\\frac{N_j}{N}I(D_j)$$"
7784
]
7885
},
7986
{
@@ -94,7 +101,7 @@
94101
"cell_type": "markdown",
95102
"metadata": {},
96103
"source": [
97-
"$$IG(D_P,\\alpha)=I(D_p) - \\frac{N_{left}}{N}I(D_{left})- \\frac{N_{right}}{N}I(D_{right})$$"
104+
"$$\\huge IG(D_p,f)=I(D_p) - \\frac{N_{left}}{N}I(D_{left})- \\frac{N_{right}}{N}I(D_{right})$$"
98105
]
99106
},
100107
{
61.6 KB
Binary file not shown.
175 KB
Loading
170 KB
Loading
92.1 KB
Loading
124 KB
Loading

0 commit comments

Comments
 (0)