summaryrefslogtreecommitdiff
path: root/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'tree.py')
-rw-r--r--tree.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tree.py b/tree.py
index 0351e3c..db6975b 100644
--- a/tree.py
+++ b/tree.py
@@ -203,10 +203,13 @@
# 2D data array corresponding to some node
# /y/ numpy.array, 1D numpy array of binary labels corresponding to the
# rows in the 2D data array corresponding to some node
-# /minleaf/ @todo
+# /minleaf/ int, number of x-rows a child must have before splitting
# Returns -> tuple
+# Computes the best split based on the given features using the impurity
+# function.
+
# """