Skip to content

Commit 98fb119

Browse files
authored
Update CART.ipynb
1 parent 8b478ac commit 98fb119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charpter7_decision_tree/CART.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
" if feature_value >= tree.threshold:\n",
153153
" branch = tree.left_branch\n",
154154
" elif feature_value == tree.threshold:\n",
155-
" branch = tree.right_branch\n",
155+
" branch = tree.left_branch\n",
156156
"\n",
157157
" # 测试子集\n",
158158
" return self.predict_value(x, branch)\n",

0 commit comments

Comments
 (0)