Skip to content

Commit 6d8ccbc

Browse files
committed
DOC correct shape of Tree.value
1 parent 5202312 commit 6d8ccbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/tree/_tree.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,7 @@ cdef class Tree:
22022202
threshold : array of double, shape [node_count]
22032203
threshold[i] holds the threshold for the internal node i.
22042204
2205-
value : array of double, shape [node_count, n_outputs, ]
2205+
value : array of double, shape [node_count, n_outputs, max_n_classes]
22062206
Contains the constant prediction value of each node.
22072207
22082208
impurity : array of double, shape [node_count]

0 commit comments

Comments
 (0)