Skip to content

Commit f7b9b01

Browse files
committed
correct erroneous comments
1 parent 9239868 commit f7b9b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ensemblelearning/boosttree.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def unroll_responses(number_of_class, responses):
4949
new_responses[resp_idx] = 1
5050
return new_responses
5151

52-
########### Load Training and Testing Data SetsTypeError: can only concatenate tuple (not "int") to tuple
52+
########### Load Training and Testing Data Sets
5353

5454
# load training data set
5555

@@ -127,7 +127,7 @@ def unroll_responses(number_of_class, responses):
127127

128128
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
129129
#
130-
# As currently boosted tree classifier in OpenCV can only be trained
130+
# As currently the boosted tree classifier in OpenCV can only be trained
131131
# for 2-class problems, we transform the training data set by
132132
# "unrolling" each training sample as many times as the number of
133133
# classes (10) that we have.

0 commit comments

Comments
 (0)